In my organisation I have created a test automation using qaf (qmetry automation framework). My target is to run this functional test cases automatically in CICD pipeline. We have a system where when code check-in was complete then the Jenkins tool will trigger the functional test cases automatically and it runs in available VDI. We have 20-30 VDI out of
Tag: selenium
Stale element just after Find
I’m using ChromeDriver in Groovy, for clarification. I know that you usually can get a Stale Element Exception if you save an element, the page changes and then you try to access it. But my problem is that I sometimes at random get that error when i literraly just obtained it. My code looks something like this: And it’s on
How to add a web elements to an ArrayList?
I have a method in which I am trying to add 12 web elements: Simplified DOM elements in which I only need to get the text : I need to add all 12 web elements to my array and then make sure that the received elements contain the name “Iphone”, but when adding elements, there is exception: Answer iphoneSnippetList is
Automate status checkbox to verify active/inactive
I wish to automate a scenario, where in a data grid I have a checkbox for Status for a user, whether the user is active or not, now what I am doing is: 1. Creating a list of checkboxes on the Grid, and if the size > 0 then I gettext() of the first record in the grid and store
How to get dynamic numbers using xpath?
How do I get dynamically changing numbers in the span block ? Method: I can’t figure out how to do this. My method xpatch which returns the value: How can I get dynamically changing numbers in such blocks for further comparison? Answer byRaetUSD is a webelement you should call getText to get the text or you can call if element
Select first row after table is populated
I have this Angular SPA app which is displaying table rows after search: Do you know how I can implement a listener with Java and Selenium which waits for table row to be displayed and clicks in it? I tried something like this: But it’s not working. Can you guide me for appropriate solution? Answer Basically if you pay attention,
How to fetch the most recently added Date from the table
Scenario: I have a Screen where i need to enter the Date by incrementing the Date by 10 days …. After entering the Date and saving the entered Date could come anywhere in the table. My Question is how do i fetch the newly entered date everytime from the table and store it so that with that date i can
When i run the build in Jenkins i got this Error : Cannot find firefox binary in PATH. Make sure firefox is installed
I created a job Maven Project in Jenkins for the purpose to Compile and execute all my automatic tests, but when i build the job i got this error : i got the same message error for all the scenarios should i create a pipeline in place of project maven ? i recupare my project with the link ssh GitLab
Could not select drop down list option in selenium java
Based on the image below the dropdown list option id is id=”CountryId” Based on the snippet above I am keep getting error which could not select the drop down list option Answer You can try with JS as well : update 1 :
Able to Toggle to Full Screen in a MAP but not able to minimize it
Able to Toggle to Full Screen in a MAP but not able to minimize it This is my Xpath for both Maximize and Min : My Map is similar to the Map given in the link where the click here Any leads on this … Answer I think all it needs is basically an explicit waits in combination with worst