This is what I am doing for assignment 1
1) Login - Pass
2) Compose email - Pass
3) Click Send - Pass
4) Check message send. - Fails
Trying to get the value from GetROProperty, see attached OR screen shot.
My code:
===========
sSuccMsg = "Your message has been sent."
'ckSuccMsg = Browser("IE
Browse").Page("CM").WebElement("sSuccMsg").GetROProperty("innertext")
var_GetROProperty = Browser("IE
Browse").Page("CM").WebElement("sSuccMsg").GetROProperty("innertext")
=======
Note all the variables are declared in Dim
In the above code it is not able to know what is
GetROProperty("innertext"). So I tried to generate code by the setp
generator.
Same error no success.
Any fresh eye can catch what I am not able to see. Let me know.
Thanks,
-Rajeev
Try working with default view as "Basic HTML" when working with gmail
application as suggested by Karthik during our training. It will
surely solve your problem.
Let me know if you need script. i do have tried and its working fine.
Regards,
Brinda (A30 batch)
I think U have ckSuccMsg and var_GetROProperty as the same thing that
may confuse QTP:
If you declared ckSuccMsg, then try:
Set ckSuccMsg = Browser("IE
> Browse").Page("CM").WebElement("sSuccMsg")
print "Message is " & cKSuccMsg.GetROProperty("innertext")
I hope this helps - and tell me if I'm wrong guys.
Thanks
Victor
On 10/8/10, Rajeev Bhavsar <rbhavs...@gmail.com> wrote: