Ask a Question

Getting runtime error when using the FindChildByXpath Method

gnaneshwar_cse5
Occasional Contributor

Getting runtime error when using the FindChildByXpath Method

Hi Guys,

 

Checking Exists Property When Object is not existed in page:

1.I am getting runtime error when using the  FindChildByXpath() Method for finding the object and for the same object i am getting without error when i use the findChild() method.it returns as fasle when the object is not existed in page.

 

Checking Exists Property When Object is existed in page:

2.Above both methods are returns true when the object is existed on page.

 

 

Please do the needful.

 

Thanks,

Gnaneshwar

1 REPLY 1
TanyaYatskovska
SmartBear Alumni (Retired)

Hi Gnaneshwar_cse5,

 

Could you please post the problematic line here? Perhaps, there are some issues in the method’s parameters.

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: