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

Data driven & Evaluation copy

3 Answers 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hannah
Top achievements
Rank 1
Hannah asked on 21 Jan 2014, 05:32 PM
Hi,
I am running data driven test in evaluation copy. Like to know what's the best way to capture result returned from jQuery.
We have Oracle DB at back end, but right now, I created a simple Excel data source, and the page run the query and returns with result.
Questions:
A. Data-driven & valify the query result.
1. Can I put these result to data source wriging code? or another excel spreadsheet outside the application?
2. What's the best way to accomplish this task?

B. How can I add a regular test step?
e.g. The recording missed a step of entering text into zip code, so I want to add
Enter text '32201' to 'zipcodetxt'. It is not manual step or coded step. In evaluation copy, I don't see any button to add 'regular execute step'.

C. Connecting To TFS - just hangs there, and not working
Can it be running in evaluation copy?

D. VB plug in is included in Evaluation copy?

I emailed for technical support because I have to report to my boss this week. But I didn't get any response at all.

Please let me know.
Thank you.

Hannah

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 24 Jan 2014, 08:49 PM
Hello Hannah,

Like to know what's the best way to capture result returned from jQuery.

This is a very unusual request. Can I ask for details why you want to do this in the first place? jQuery runs as JavaScript inside the browser. Test Studio is targeted at driving the browser as if a real person were sitting there and reading portions of the screen. We have API methods for making JavaScript calls, but they are very rarely actually used.

Data-driven & valify the query result

A more stand approach is to create a data driven test then verify what gets displayed in the browser window as a result of running the test, not going directly to the jQuery and validating the jQuery response.

Can I put these result to data source wriging code? or another excel spreadsheet outside the application?

This can be done using code, though we don't normally recommend it. You'll be modifying your data source which could make the test break the next time you run it.

How can I add a regular test step?

What you really want to use is our "Run To Here" feature.

Connecting To TFS - just hangs there, and not working Can it be running in evaluation copy?

First no it has nothing to do with you running in trial mode. Trial mode fully supports TFS integration. Second please create a new separate support ticket. It gets too confusing too quickly trying to work multiple unrelated issues in the same ticket.

VB plug in is included in Evaluation copy?

Do you mean our Visual Studio plug-in? If you downloaded and installed Test Studio ultimate yes that is included. We do not have something called a "VB plug in".

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Hannah
Top achievements
Rank 1
answered on 24 Jan 2014, 09:06 PM
1. I used data driven test, and I can verify the result with data in data source.
However, I need to see the result if they don't match. That's why I want to save query results into data source or external file.
I guess I have to write some code. But I hope Test Stuio makes this job easier.

2.I am not talking about "Run To Here...". I don't see any icon, buttons to create a regular test step.
Regular test step is only created by recording it. IN some case, recodring missed some step, so I had to copy recorded step and paste and then modified it.

3. Visual Studio plug in. It worked with TFS. 

Thank you for your reply.
Hannah  
0
Cody
Telerik team
answered on 27 Jan 2014, 09:43 PM
Hello Hannah,

Item 1) Anytime any of our verification steps fails our log will automatically capture and tell you what the actual value found was at the time of failure.

Item 2) I am sorry I wasn't more clear. Run To Here is what we officially recommend you use to insert steps in the middle of a test. It's the fastest way to get the browser into the right state for recording additional steps into an existing test.

You may also like our Step Suggestions.

Regards,
Cody
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Hannah
Top achievements
Rank 1
Answers by
Cody
Telerik team
Hannah
Top achievements
Rank 1
Share this question
or