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

Not able execute scripts

7 Answers 170 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Senthilraja
Top achievements
Rank 1
Senthilraja asked on 20 Jan 2011, 02:51 PM
Hello

I recorded successfully, but not able to execute all. Not able to do any action.

Please check the attachment...

Image 1: ComboBox Selecetion Event - Load DataGrid
Image 2: Button Click Eevent - Will open child window

I'm using latest QA Edition (Downloaded on yesterday), Silverlight 4 and IE 7

NOTE: Everything is working fine in local. Not able to execute in server. We hosted our application in US Server.

Please provide me the solution immediately... It's very urgent...(we'll go license based on this tool feature)


Thanks & Regards
Senthil

7 Answers, 1 is accepted

Sort by
0
Madhu
Top achievements
Rank 1
answered on 20 Jan 2011, 07:30 PM

Hi Senthil,

The wait time is not sufficient for opening combo box and selecting the item. Please see attached files to update properties.

For your second issue, I’m assuming same as above try with wait statement (attached)

Let me know how it works?

Thanks,

Madhu.

0
Senthilraja
Top achievements
Rank 1
answered on 21 Jan 2011, 11:54 AM
Hi Madhu

Thanks for your response....

I increased wait time same as you mentioned. I'm not able to open child window still.

The tool is not able to open child window, so I opened child window by manually, then remaining steps are continued....

What is issue to open child window?


Thanks & Regards
Senthil
0
Madhu
Top achievements
Rank 1
answered on 21 Jan 2011, 04:06 PM

Hi Senthil,

Good work…,

Try in this way..,

1.       In your IE/Mozilla settings are blocking pop-up windows (uncheck pop-up blocker)  Or

2.       Is this web based pop-up window or window based (if its windows there is a Handler option in Telerik) Or

3.       If it is web pop-up, while you recording it should ask.. your trying to access another web page do you want to automate it? If you say Yes, it will include in your test. (try one more time with fresh recording)

Internet settings useful link: http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureie7

Attached screenshots…

Let me know how it goes?

Thanks,

Madhu.

0
Keaegan
Telerik team
answered on 25 Jan 2011, 12:10 AM

Hello Senthilraja,

How did Madhu's provided steps work? For the child window that is having issues loading everywhere except locally, does the application you are testing against create a "GUID" of any type and append it to the target URL the child window loads? If so, then this data may be different on a different machine when run even if the login data for the account is the same.

For example, if the child window loads http://www.yoursite.com/modal.aspx?Property=Value&Property=Value, try making the field shown in the provided picture equal http://www.yoursite.com/modal.aspx (deleting ? and everything after it). Make sure to update the IsURLPartial field as well if you do this process.

If these suggestions have not worked, can you provide us with more data on the child window you are having this issue with? If the window is difficult to describe, would you be able to provide a video of the issue occurring for us to review? We'll standby for your reply with more data on this issue.

Best wishes,
Keaegan
the Telerik team

Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Senthilraja
Top achievements
Rank 1
answered on 27 Jan 2011, 05:58 PM
Hello

Thanks for your response.... Sorry for the delay response... :)

Madhu's solution is not working...

Both are explaining about normal web application. But i have problem in Silverlight Application.

Same as http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html#/Navigation/Page1.xaml

Steps to access our application,
1. Navigate to http://xyz.com/?reload#/DashboardView
2. Redirect to authentication site (Normal web application), need to provide GUID and password.
3. Redirect to http://xyz.com/?reload#/DashboardView
4. Displays all content of application
5. Click search filter button
6. It opens child window (not popup, same as above sample link)
7. Provide search filter data and select filter data (Child window close automatically)
8. Click apply filter button
9. Telerik Grid loads data.

No action event is firing. We are using Silverligh 4, MVVM Light and MEF Framework

Thanks & Regards
Senthil
0
Stoich
Telerik team
answered on 02 Feb 2011, 11:02 AM
Hello Senthilraja,
    I'm able to open http://xyz.com/?reload#/DashboardView but this step:
2. Redirect to authentication site (Normal web application), need to provide GUID and password.
never happens. Please recheck and make sure your application is publicly accessible in the way you intended it to be.

My hunch is that the Find Expression for the button that you need to click wasn't generated correctly for some reason. I'll be able confirm this and tell you how to revise it once I have direct access to the page containing this button.

Meanwhile, there's a trick you can try: Open a Recording IE instance, navigate to your application and highlight any element from the page (but not the button in question). Wait for the nub and bring up the pop-up menu. From the pop-up menu click on Mouse Actions (bottom-middle Icon) and select "Left Click" from the Mouse Actions menu. Then select "Specific Point". This will bring up a crosshair which will let you simulate a mouse click based on xy coordinates. In this way you can setup a "blind" click on your button. This workaround should allow you to execute a click successfully.

Hope to hear from you soon!

Kind regards,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Senthilraja
Top achievements
Rank 1
answered on 02 Feb 2011, 06:41 PM
Hi Stoich

Thanks for your response....

I'm able to execute those scripts now without any changes. I'm wondering still what was the issue.


Thanks & Regards
Senthil
Tags
General Discussions
Asked by
Senthilraja
Top achievements
Rank 1
Answers by
Madhu
Top achievements
Rank 1
Senthilraja
Top achievements
Rank 1
Keaegan
Telerik team
Stoich
Telerik team
Share this question
or