hi i am using robot framework for mobile app auotmation, i have used all posiible types of xpath and id but still i am unable to click an element in my mobile app.
attched relevant screenshotscreen shot of the app screen
please help in this.. i want to click on get started button but i am unable to do so. i have used the following it is not working
Wait Until Keyword Succeeds 1 min 5 sec Click Element xpath=//*[#class='android.widget.TextView' and #index='0']
Click Element id=sr_get_started
Related
Okay so I am trying to create an automation to click on a button once it appears. I was able to find the code within a javascript source file in the website's code files that creates the element that contains the button in question, however it is not always there. It is generated once a trigger on a different UI is enabled, then it shows up on my end. I want it to automate clicking the button as soon as it appears.
Is there a way to do this? I am super new to code.
An example of what I am trying to do:
Someone in one UI creates an account that needs to be approved, it pops up an element on my end with an approve or deny button. I want to automatically and basically instantaneously click one of those two buttons any time it appears.
This is not exactly what I am trying to do, but it is similar. I do not own the website I'm trying to go this on*
I have no clue what I'm doing at all....
I cam across very weird problem.
I was trying check some other issue, but incidentally found this one.
In the video you can see that I can see button rendered from the loop at position 10.
But on subsequent button clicks this button is never re-rendered.
Here I am trying to understand what is going on.
source code at : https://github.com/nssidhu/BlazoredModalIssue
screen recording at : https://1drv.ms/v/s!AtHk7h6Srnk_h_wcGLilnKZPDo_RWA
I am using Xamarin.Forms.Picker to show country list. It works properly in normal scenario. I have kept the one (downarrow.png) image, if user click on the image then I run below code to open select picker value. The problem is that it works but show picker value selection popup twice if user click on image. This problem occurred only in Android platform.
picker.focus()
Additional Information :
Xamarin.Forms version : 3.4.0.1008975
This query relates to using Robot Framework to select dates from a JQUERY Widget date picker. The JQUERY code was developed elsewhere and I’m not in a position to post.
The approach tried was
MAXIMIZE BROWSER WINDOW
WAIT UNTIL PAGE CONTAINS Arrival Date
click element xpath=.//*[#id='ArrivalDateLabel']
click element xpath=.//*[#id='dp1503657643051']/div/div/a[2]/span
Error reported
ValueError: Element locator 'xpath=.//*[#id='dp1503657643051']/div/div/a[2]/span' did not match any elements.
Analysis
Screen shot 1 shows that part of the date picker calendar is not visible during the running of the Robot Framework test and I believe this may be the reason for this. The solution referenced below does not seem to switch the label marked arrival in the screenshot.
Screen shot 1
Similar previous query
How do I send value to a date picker in Robot Framework?
This is a "best efforts" fix.
Open the calendar by clicking the label xpath.
Using the key commands
press key link=10 \13 - will pick the 10th
press key link=11 \13 - will pick the 11th
The issue is my date selections are confined to one month.
I had to proceed on this basis but believe there must be a better solution.
When i try to playback a recorded script, in which there is a click on css drop down like thing and select an option from it, i got the following error:
"Element not found".
Here there is nothing like loading so that it takes some time and element is not visible. It's just a plain web page.
Please help me in resolving this issue and go on with the recorded script.
Try invoking a mouseOver command on the underlying element, that should give the dropdown menu a hint to appear and the element you're missing will be visible.