How to use Selenium web browser to post in salesforce - html

My friend recommended Kantu for work automation hence I'm trying it out but couldn't seem to find the answer to my question on the web.
I'm new at coding, automation, stackoverflow and this is my first post.
Have just installed Kantu for Chrome- Selenium IDE Light and am trying to automate a daily post message within salesforce.
However, have received this error when I try to click on the message box.
[error]
time out when looking for element '//*[#id="outerContainer"]/div[1]/div[1]/div[1]/p'
When I click on inspect, I find this code for the message box:
I've tried running the Test Case demos and everything seems to be able to run well without problems. Noticed that the key difference in the Selenium IDE demos are that the text boxes are fixed (i.e. constantly appearing on the pages) whilst the text boxes within salesforce only appear when clicked upon.
Have tried to add in macros to click on the text div box within salesforce but Selenium doesn't seem to be able to record the click part hence unable to insert any texts into the salesforce.
Hope someone can help.
Many thanks in advance, happy new year!

Related

Is there other ways to create a button for Google Apps menu in chrome extension?

enter image description here
While I'm building a chrome extension, I want to implement a button in a new tab of chrome.
(as shown in picture, just like the original new tab has.)
I thought there must be a way, something like Google API or webpack.
But even after I spent 3 hours of searching, I couldn't find it.
And I've also tried to inspect other extensions in the store,
but the codes were too complicated to beginner like me.
So I decided to build it manually with tags and icons.
Am I on the right track?
or Is there any API or webpack?

Unable to remove "null" text using inspector tool

I think we can delete every element of a website from the inspector tool on chrome.
But here's the issue. I was using google calendar on chrome, and what i did was i added style="filter: invert(100%)" to the html container.
(I know it is silly to invert a website like that, but i was just testing some of my css)
After i did this, everything was inverted on the website, however a text "null" appeared on the top of the website:
Then, i searched for the null element, and tried to delete it, but the delete option itself is not there. I'm very confused, i have tried searching this on google and stack overflow itself, but no one seems to have the same problem as me :/
Can anyone offer some guidance?
I can delete it.
I think it has to do with the fact that Google continues to send the full status of the page as xhr internally at regular time intervals and receive responses for security and other reasons. As a result of this request, null is returned as a response and displayed on the screen.

Using DOMFormHasPassword and DOMInputPasswordAdded events in chrome extensions

tl;dr:
I'm trying to figure out how to use the DOMFormHasPassword and DOMInputPasswordAdded events in chrome extensions.
I'm trying to develop a password manager extension in chrome for my
school project. To make it, I would need a way to identify a login form and fill it automatically. So far I had relative success, but I encountered a problem: I would scan the page for a login form on page load, so if any form were to be added through javascript my extension would miss it.
I have googled the matter and found the terms DOMFormHasPassword and DOMInputPasswordAdded in some locations online, such as this one that states that the DOMFormHasPassword event was added to chrome, and some sort of an example of its use that I couldn't understand.
I've tried adding the events with document.addEventListener, without any success.
I also encountered the term SpecialPowers that I don't understand, and I think understanding it might solve my problem.
I Would be very grateful if you could even direct me to a documentation of those events, because I can't seem to to find it. Thank you for your time!

iOS 9.2 breaks app protocol handling

I have a link in my app that points to an app protocol of type myProtocol://". Until a few days ago this was working completely fine, whenever you clicked on the link, the native app would open.
However, iOS9.2 seems to have broken this. Now what happens is when the links is clicked, I get a prompt to open the native app which disappears after roughly 1 second, not even close to giving the user enough time to access. Shortly afterwards I get prompted to go to the App Store to the app's page.
Any idea why this is happening and what changes in iOS9.2 that is causing this would be helpful.
It seems that with iOS9.2, Apple is making a move towards Universal Links and traditional deeplinking is not supported anymore. While I was not able to find any information published direct on iOS9.2 release notes, following links indicate the same:
https://blog.branch.io/ios-9.2-redirection-update-uri-scheme-and-universal-links
https://www.adjust.com/overview/features/2015/12/11/ios-9-2-deeplinking/

Selenium does not record Ajax Call. Need help on coding in html or selenese

I am recording a .Net application using Selenium IDE. Theres this scenario, that a textbox is presnt. I need to enter a name to search. As soon as i start typing, matching options come in a dropdown below. I have to select one of them, then the application goes to the next page.
The problem is, Selenium doesnt record this selection from the drop down. More over, when the script is typing in the name, the dropdown list is not being visible at all.. i.e. the ajax call is not occuring.
Please help. I need the solution code in Selenese or HTML, since I'm not much of a coder myself, and also, I am simply recording and playback, so I am not using Java or other scripts.
This question is great,
and so is the answer in this blog: http://blog.buberel.org/2010/07/howto-test-jquery-ajax-autocomplete-menus-with-selenium.html
other option to deal with this problem is to use a different way to insert your text into the text box, as described here: Can selenium handle autocomplete?