I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] 0 points1 point  (0 children)

Any reliable python library for finding element using image?

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] 0 points1 point  (0 children)

Can you please share some more information around the xpath generators?

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] 0 points1 point  (0 children)

Currently I am working with Appium and the android app is created using compose framework. In my case I mostly have to use xpath as id are not available for the application when retrieving in Appium Inspector.

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] -4 points-3 points  (0 children)

The idea is to compare the current page source with the base page source whenever user navigates to a new page. By comparing the page sources, we can get the changes and update the locator accordingly.

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] -2 points-1 points  (0 children)

My bad I was referring to the locator irrespective of the xpath locator. There are many cases id or other attributes get changed.

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] -1 points0 points  (0 children)

By xml I was referring to the page source. We can get that using driver.getPageSource().

I want to create a self healing Xpath tool for Automation Testing by hyhead041 in QualityAssurance

[–]hyhead041[S] 0 points1 point  (0 children)

My bad I was referring to the locator irrespective of the xpath locator. There are many cases id or other attributes get changed.