Hi, Try the below code and see if it works for you
innertext="k"
if innertext="s" then
status="s"
ElseIf innertext="p" Then
status="p"
ElseIf innertext="f" Then
status="f"
else
status="else"
end if
MsgBox status
Regards,
Anil Kumar
On Monday, January 5, 2015 10:07:10 AM UTC+5:30, Sri Srikanth wrote:
>
> while automating web application i have a class which changes according to
> response as s,p,f i want to collect thise responses.
>
> if innertext=s then
> status=browser("...").page("...").webelement("html
> tag:=TD","class:=suitresponse-sucess").getroproperty(innertext)
> else
> browser("...").page("...").webelement("html
> tag:=TD","class:=suitresponse-sucess").getroproperty(innertext)
> end if
> for this only fail and pass conditions are geting response but for sucess
> it is not geting any response.
> can any one help in this.
>
--
--
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.