This is a migrated thread and some comments may be shown as answers.

Modal Web popup recording problem

6 Answers 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rizwanur
Top achievements
Rank 1
Rizwanur asked on 30 Mar 2011, 12:50 PM

Hi,

Our team is evaluating WebUI Test studio QA Edition (Trial version, version: 2010.3.1421.0).

Now we are facing a problem during recording operations on Modal Popup. We have already gone through the thread How to handle modal popup dialogs?

As per above thread, a prompt should appear for non-modal popups which are also appearing in our end as expected. But for modal popup recording the operations are not recording which should be done automatically.

The scenario is straight forward: We have a link clicking on which a modal dialog appears (more specifically we are using ShowModal() function to open the modal popup).
However one of our colleagues able to record modal popup only once.

So are we missing anything? Do we need to do any extra configuration to enable modal popup recording?

Please respond asap.

6 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 30 Mar 2011, 06:51 PM
Hello Rizwanur,

We need a little more information to troubleshoot your modal popup issue.

Please see the attached screen shot for a sample modal popup test I ran. Notice Step 2 is highlighted, which is the click that calls the modal window. Also notice that SimulateRealClick in the Properties area was automatically set to True when I recorded the test. If changed to False, the test will fail.

Could you attach a screen shot of your test with the step highlighted that calls the modal window along with a screen shot of your modal window? We need to verify that Test Studio should be working with the style and look of your modal window.

Thanks,
Anthony
the Telerik team
0
Rizwanur
Top achievements
Rank 1
answered on 31 Mar 2011, 07:08 AM
Hi,

Thanks for your reply. I am attaching here a screenshot where I've shown the dialog we are intend to open, also the option (Simulate Real Clicks by Default) for which "SimulateRealClick" recorded as "True" by default need to be turned on.

Still I've no luck here. FYI, Our system is developed in Asp.NET.
0
Rizwanur
Top achievements
Rank 1
answered on 31 Mar 2011, 07:38 AM
In addition I've found another interesting scenario. We are using Thickbox in some cases to show jquery modal dialog. WebUI cannot record events performing on the controls of jQuery modal dialogs. To automate this process I needed to Add controls of the modal dialg manually in the project. Then I've added coded step and added following line:

Pages.DellMarketingPortal0.FrameTBIframeContent.DescriptionControlTbDescriptionTextArea.Text = "new name";

Where "DescriptionControlTbDescriptionTextArea" is out targeting control name.

Any idea?
0
Anthony
Telerik team
answered on 31 Mar 2011, 09:11 PM
Hello Rizwanur,

For some reason you have no step reading "Connect to modal pop-up window." Are you able to supply us with a public URL for local reproduction? This will be the fastest way for us to troubleshoot. If not, we can schedule a GoToMeeting.
Yes, you are correct about jQuery events. They must be fired via a coded step.

Best wishes,
Anthony
the Telerik team
0
Rizwanur
Top achievements
Rank 1
answered on 06 Apr 2011, 07:28 AM
hi Anthony,

I think I can give you some highlight for you. The modal we were trying to record was actually using "Response.Redirect" to load that popup. We have other popups which are actually opening with "onclick" and "showmodal" function. Those modals are recorded successfully by WebUI. 

Any Idea?
0
Anthony
Telerik team
answered on 06 Apr 2011, 06:09 PM
Hello Rizwanur,

We are still unclear as to how your modal popup is loading.

Are you able to supply us with a public URL for local reproduction? This will be the fastest way for us to troubleshoot. If not, alternatives are for you to record a screen cast with Jing, or we can schedule a GoToMeeting.


Kind regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Rizwanur
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Rizwanur
Top achievements
Rank 1
Share this question
or