Hi..
I am a beginner to QTP . I have some problem with object identification
when using descriptive programming for login into gmail
Please find the code below
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe",
"www.gmail.com"
Browser("CreationTime:=0").Page("title:=Sign in - Google Accounts").WebEdit(
"name:=Email").set "[email protected]"
Browser("CreationTime:=0").Page("title:=Sign in - Google Accounts").WebEdit(
"name:=Passwd").set "password"
Browser("CreationTime:=0").Page("title:=Sign in - Google Accounts")
.WebButton("name:=Sign in").click
-----------------------------------------------------------------------------------------------------------------------------------------------------
Error:
Cannot find the "[ WebEdit ]" object's parent "[ Page ]" (class Page).
Verify that parent properties match an object currently displayed in your
application.
Line (3): "Browser("CreationTime:=0").Page("title:=Sign in - Google
Accounts").WebEdit("name:=Email").set "[email protected]"".
Tip: If the objects in your application have changed, the Maintenance Run
Mode can
help you identify and update your steps and/or the objects in your
repository.
Please suggest . Why this is happening with my system. Most of the time
when using browser this is happening.
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.