Thursday, March 12, 2020

Is it possible to verify multiple XPaths in single shot?

Yes, now it is possible with AutonomIQ ChroPath 6.0 version. Using smart maintenance feature of ChroPath 6, we can verify 100s of XPaths in single shot.
Download link


How to use Smart Maintenance feature?
Just paste complete script and it will verify all your XPath:
  1. First go to that web page for which you want to verify all the XPaths.
  2. Now click on Smart Maintenance icon(2nd last icon) given just below selector box in ChroPath tab.
  3. There are two ways to verify all XPaths in your script-
i) Just paste the complete script:
a) Click on edit icon (present in smart maintenance header),
b) Pass the same command which is used in script on XPath and just replace the xpath by xpathValue keyword. If there is no command then turn off the command option. For ex- driver.findElement(By.xpath(“//input”)) then pass the command as driver.findElement(By.xpath(“xpathValue”))
c) Paste the complete script in the given box and click on OK.
d) It will show all the XPaths with their occurrences in the page.
e) You can copy all the XPaths by clicking on CopyAll icon given in header or export them by clicking on export icon.
ii) Upload the script/xpaths file(supported only for downloaded files from ChroPath):
a) Click on upload xpath xls file icon
b) Set the command
c) Click on next
d) Upload the file which has the xpath values
e) It will show all the XPaths with their occurrences in the page.

No comments:

Post a Comment