Skip to content
Advertisement

Tag: selenium

How can I execute functional tests as part of CICD pipeline

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

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 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

Advertisement