09-06-2017, 01:49 AM
Hi,
I am new to QTP, I was trying to Automate Yatra.com for practice. but unable to select the date from the calender.
I have used this property to click on particular date button.
'Browser("Flight, Cheap Air Tickets").Page("Flight, Cheap Air Tickets").WebElement("Class Name:=WebElement","abs_x:=1070","abs_y:=526","class:=day-num","class:=day-num","innerhtml:=15","innertext:=15").Click
got the Error Message:
Cannot identify the object "[ WebElement ]" (of class WebElement).
Verify that this object's properties match an object currently displayed in your application.
I am new to QTP, I was trying to Automate Yatra.com for practice. but unable to select the date from the calender.
I have used this property to click on particular date button.
'Browser("Flight, Cheap Air Tickets").Page("Flight, Cheap Air Tickets").WebElement("Class Name:=WebElement","abs_x:=1070","abs_y:=526","class:=day-num","class:=day-num","innerhtml:=15","innertext:=15").Click
got the Error Message:
Cannot identify the object "[ WebElement ]" (of class WebElement).
Verify that this object's properties match an object currently displayed in your application.