Issue with pop up messages

Ranorex Studio, Spy, Recorder, and Driver.
vdoddaguni
Posts: 11
Joined: Mon Apr 11, 2011 9:34 pm

Issue with pop up messages

Post by vdoddaguni » Fri Sep 02, 2011 5:42 pm

Hi,

I am trying to play a recording that had recorded a pop up message. However, while playing back, I got a timeout error. Ranorex does not recognize javascript pop ups. Here is a sample of the script from view source.

<div class="floatLeft addtocart">
<fieldset>
<div id="ctl00_Content_AddToCartPanel">

<p>
Add to cart to view final price</p>
<input type="image" name="ctl00$Content$AddToCartHyperLink" id="ctl00_Content_AddToCartHyperLink" title="Add To Cart" src="https://a248.e.akamai.net/f/674/18977/7 ... redbtn.jpg" onclick="javascript:addToCartProductDetails(this, '434728');return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Content$AddToCartHyperLink", "", true, "", "", false, false))" style="border-width:0px;" />


</div>

<input type="image" name="ctl00$Content$AddToWishListHyperLink" id="ctl00_Content_AddToWishListHyperLink" title="add to my wish list" alt="Add To Wish List" src="https://a248.e.akamai.net/f/674/18977/7 ... shlist.jpg" onclick="javascript:addToWishList(this, '434728', false);return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Content$AddToWishListHyperLink", "", true, "", "", false, false))" style="border-width:0px;" />
<!-- Height="10" -->
</fieldset>

Please let me know if you have any suggestions on how to get Ranorex to recoginze popup message box and the clicks...

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Issue with pop up messages

Post by Support Team » Mon Sep 05, 2011 12:14 pm

Hi,

Which version of Ranorex are you using and are you using the IE or FireFox?
There is another similar topic to this one, can you take a look on it, maybe your questions is answered there:
http://www.ranorex.com/forum/javascript ... t2567.html

Regards,
Markus
Ranorex Support Team