Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help required on Generated Script
#1
Not Solved
Hi All,

Using QTP with the help of Google Health, i generated script.
Script as follows.

Browser("Google Health").Page("Google Health").WebEdit("Email").Set "prasad.vemu"
Browser("Google Health").Page("Google Health").WebEdit("Passwd").SetSecure "4c15f7118fae6469dcc486116f1268717a985a76"
Browser("Google Health").Page("Google Health").WebButton("Sign in").Click
Browser("Google Health").Page("Google Health_2").WebElement("Medications").Click
Browser("Google Health").Page("Google Health_2").WebElement("Add medications to profile").Click
Browser("Google Health").Page("Google Health_2").WebEdit("WebEdit").Set "IBU-200, By mouth"
Browser("Google Health").Page("Google Health_2").WebButton("+ Add").Click
Browser("Google Health").Page("Google Health_2").Link("Sign out").Click
Browser("Google Health").Page("Google Health").Sync
Browser("Google Health").CloseAllTabs

When i run the same script. At Medication i am unable to got further. While recording this was taken as WebElement.Click but while running a message showing as "Cannot identify the Object "AddMedicationsto Profile". i.e Next line. Means if the medication link got clicked, Add medications to profile link will be seen.

Please Clarify on this.

Thanks
Arainspy
Reply
#2
Not Solved
Hi
After clicking "Sign In" , insert a wait statement, so that page will get uploaded & then it will find the objects.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,414 03-02-2020, 09:33 PM
Last Post: Swishy70
  Test runned from QualityCenter generated an error "Attempted to divide by zero." robertosalemi 1 2,592 10-14-2016, 08:38 PM
Last Post: robertosalemi
  Script is not generated for windows application in UFT sreelatha 1 2,408 04-04-2016, 10:51 AM
Last Post: vinod123
  Unable to identify "Authentication Required" Dialog shaunysj 2 3,285 08-04-2015, 12:55 PM
Last Post: venkatesh9032
  code required for the following scenarios krithikaachari 0 2,270 09-27-2014, 01:00 AM
Last Post: krithikaachari

Forum Jump:


Users browsing this thread: 1 Guest(s)