Hi Use this,

if innertext=s then
status=browser("...").page("...").webelement("html
tag:=TD","class:=suitresponse-sucess").getroproperty(innertext)
else if innertext=p 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.

On Mon, Jan 5, 2015 at 10:07 AM, Sri Srikanth <[email protected]> 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.
>

-- 
-- 
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.

Reply via email to