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

test automation for script service postbacks

6 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mithun
Top achievements
Rank 1
Mithun asked on 01 Apr 2011, 12:30 PM
Hi, 

can you please advice us on how to :
1. do test automation for script service postbacks?
2. introduce delay in between steps? i actually gave a delay of 500 mili seconds after a button click. but could not see the delay after the button click during execution of the test scripts.
3. automate steps for the pop up windows.

Thanks in advance.

6 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 01 Apr 2011, 03:59 PM
Hello Mithun,

1. We are unclear on what you mean by "script service postbacks." Please explain what you are trying to accomplish in more detail and attached a screen shot if possible.

2. A delay step is inserted by clicking More in the Add ribbon and then choosing Execution Delay.  Remember, the time value is in milliseconds. In your case, a half second delay will go by very quickly when performing a quick execution on your test. To see your test execute more slowly and visually verify each step, enable "annotation during quick execution" by clicking the icon underneath the IE icon. Then set the pause duration in the millisecond drop-down right next to it. Once that is highlighted, hit Execute and notice the test will pause between each step for however many milliseconds you selected.

3. Please be more specific with the type of popup window you would like to automate. Certain types can be logged by recording as normal. You can also insert a step manually by clicking Handlers in the Dialogs ribbon and choosing the appropriate dialog.

Best wishes,
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
0
Mithun
Top achievements
Rank 1
answered on 05 Apr 2011, 06:30 AM
Hi Anthony,

Thanks a lot for your reply. 

1. When i click on a link, a div opens in which there are a lot of fields. I can add data in the input fields and click on a button which will add that data in another div. I was trying to automate this and while executing the test case, none of the steps shows up and it fails. This is what i meant by script service postback. 
3. It is just a normal html popup on click of a link in a floating div. 

Thanks.
0
Mithun
Top achievements
Rank 1
answered on 05 Apr 2011, 01:05 PM
The pop up part that i was talking about is a modal pop up which appears on click of a link. It is an altogether new page that opens and nothing as a part of our page. Please help with the same.

Thanks.
0
Mithun
Top achievements
Rank 1
answered on 06 Apr 2011, 07:24 AM
Hi,

Kindly help.
Could you also tell us about the test management tools that WebUI test studio can be integrated with? i.e for defect logging, capturing project progress, requirements specification etc.
WebUI test studio can be used only for regression testing? 
Does this tool support Automatic generation of different combinations of input parameters?
Does it support exceptions?
Does the tool help us check for pre conditions and post conditions for a test case?
Please help us with the queries. 
0
Accepted
Anthony
Telerik team
answered on 11 Apr 2011, 03:23 PM
Hello Mithun,

We have interpreted your explanation from number 1 to mean your web application is using Ajax. Is this correct? If so, our product is compatible, along with both types of popups you mentioned, modal and normal HTML.

If you continue to have an issue in these areas, we would like access to your web application so we can reproduce it locally. Please provide a public URL and exact steps.

Regarding the additional inquiries - we have customers who have integrated Test Studio with other systems including MTM. Our Test runner can be called via command line with test list parameters passed into the runner - results files are then stored in an aiiresults file which is in standard XML format - so with just a little bit of tweaking you should be able to get Test Studio working with a variety of systems. If you are looking for a system, I would encourage you to take a look at our TeamPulse application. With our forthcoming release at the end of April, UAT's created in Team Pulse will create stubbed out tests in Test Studio - as both products mature, I would expect to see more integration points and for them to be seamless between the products. So again, if you are looking for a recommendation, TeamPulse would be a great product for you to look into!

WebUI Test Studio is a functional and regression UI Testing tool. Tests can be driven with data using our own built-in data grid or via an Excel, CSV, XML or direct DB connection. Driving your test this way allows for different combinations of data input!

You can check for pre-conditions and post-conditions as well via verifications - you can even combine the verifications with condition logic to take different paths based on the result of the conditional check. You also can utilize the power of the underlying WebAii testing Framework as well as the .NET framwork to code custom steps in C# or VB.net - so the power of what you can do pre and post execution is virtually unlimited.

If you would like additional clarification on any of these points, please do not hesitate to ask!

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
0
Mithun
Top achievements
Rank 1
answered on 14 Apr 2011, 10:15 AM
Thanks for the help!
Tags
General Discussions
Asked by
Mithun
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Mithun
Top achievements
Rank 1
Share this question
or