Micro Focus QTP (UFT) Forums
How to click on a date button? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: How to click on a date button? (/Thread-How-to-click-on-a-date-button)



How to click on a date button? - Parthasit033 - 09-06-2017

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.