Micro Focus QTP (UFT) Forums
GMAIL Object Identification - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: GMAIL Object Identification (/Thread-GMAIL-Object-Identification)



GMAIL Object Identification - sidqtp - 06-26-2014

In GMAIL Account Creation , In the Account Creation Page Can anyone tell the process of identifying "Month" object in the Birthday field?

I need to know the Descriptive programming Script for Setting the Birthday as 4th-February-1988 . The Day and year are fields are getting identified properly but the month Drop-down list is not getting identified . Need help. Many Many thanks in advance.


RE: GMAIL Object Identification - PrateepKaraval - 11-07-2014

Use the xpath?


RE: GMAIL Object Identification - vinod123 - 11-08-2014

Just Try the below code its should work. I used Descriptive Programing statements and not need to use object repository

Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebList("html id:=BirthMonth").Select "February"
Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("html id:=BirthDay").Set "4"
Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("html id:=BirthYear").Set "1988"