Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Do you have a problem with storing each xpath string in a variable? Commented Sep 17, 2022 at 11:12
  • No not at all, it's just if I start storing each of the x-path in a variable then the changes will be too much for me and it will take around 7 to 8 days to make all those changes as the code itself contains 3k+ X-path whereas the actions are only 100. Commented Sep 17, 2022 at 11:20
  • So basically, you want to programmatically change all the xpaths? Commented Sep 17, 2022 at 11:21
  • Not to change, just I wanted to get the X-path. for example, I have one flow in which clickButton action will be there but what I didn't know is which param has passed for the clickButton if it's Save or Search, but at the end, I wanted to store all the XPath for this particular flow in Database. Commented Sep 17, 2022 at 11:33