Hi All,

please find the code to click the login useing Descriptive programing.

Set a=Description.Create
a("html tag").value="A"
a("micclass").value="Link"
a("innerhtml").value="Login"
Set
basepage=Browser("Micclass:=Browser").Page("Micclass:=Page").ChildObjects(a)
x= basepage.count
For i=0 to x-1
basepage(i).click
Next

correct me if i am wrong.

Thanks
raghu

On Tue, Jan 18, 2011 at 7:06 PM, Jakka <[email protected]> wrote:

> 1) Open this url ( http://www.equalapp.com/).
> 2) In to right side page the login link there.
> 3) I want to click on the login link with descriptive program .
>
> - I have tried it in many ways, but still it is not able to identify
> the link .
> - write one line statement with descriptive program .
>
> Properties and values are as follows
>
> href : http://www.equalapp.com/login
> html tag : A
> innerhtml :Login
> innertext :Login
> name :Login
> text :Login
> outerhtml :Login
> outertext :Login
> url :http://www.equalapp.com/login
> Etc..
>
> --
> 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]<mercuryqtp%[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
"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

Reply via email to