Micro Focus QTP (UFT) Forums

Full Version: How to click on a date button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.