Telerik Forums
Test Studio Forum
4 answers
136 views

Hi Telerik Team,

I am trying to read data from a HTMLTable type control. The frame in which this control is placed is using a dynamic query.  IFrmae src property is displayed as: <partial url>?mode=<static string>&ID=<dynamic number>

Due to this I am not able to identify the frame and getting error as:

Waiting for frame '[Frame:src=~<partial url>?mode=<static  string>&ID=<dynamic number>,UseQuery:True]' timed out. Error: Wait for condition has timed out

I tried to executing the code by setting ‘UseQuery’ attribute to ‘False’ in element explorer. But it was causing problems as there is similar frame being used on different page of my application. In that case  the src=<partial url> property is same for both the frames so I cannot set ‘UseQuery’ attribute to ‘False’.

Is there a way I can handle the dynamic id generated for the Frames Query string?

Stoich
Telerik team
 answered on 09 May 2012
1 answer
99 views
As subject state, IE9 fails to recognize the selected index or option changed with the following method and trigger ajax post back.

Manager.ActiveBrowser.Find.ById<HtmlSelect>("SelectID").SelectByValue("Value");

This does work with Firefox and Chrome.

Can you suggest any solution or workaround?
Byron
Telerik team
 answered on 07 May 2012
2 answers
66 views
Hi Telerik team,
        I am trying to connect a SQL Database for Data Driven Testing. I was able to successfully establish the connection and create a Data Source but when i try to Bind the test to data source, i am getting a "Error Setting the current Data Source" and "unable to show the data. Error: Keyword not supported: 'driver'."
Screenshot of the errors is attached.

Any help is appreciated!!

Thank you,
Nithin
Anthony
Telerik team
 answered on 07 May 2012
1 answer
56 views
Hello,

It appears the checks for Application.Current.IsRunningOutOfBrowser does not work with Test Studio. After disabling the check in a couple of places to bypass it, I finally hit a wall with a login page that uses the webBrowser control. I'm unable to record my OOB application. See image attached.
Anthony
Telerik team
 answered on 04 May 2012
2 answers
99 views
I just spent the last several hours trying to figure out why my coded step to handle a file upload dialog absolutely would not work when used in a data-driven test, and I feel that I should pass this bit of info along in case anybody else is running into similar issues.

My situation is as follows:
  • I'm using the TestStudio Standalone version to test an ASP.NET Web Application.
  • I'm testing a set of actions wherein a file input html control is used at some point.
    I wanted to extract the exact bits where the file input is handled so that I could reuse it in my similar tests.
  • I made a small data-driven test to do this that inherits its data-source from its parent.
  • That test would run properly on its first iteration but on any of the following iterations, nothing would happen once the file upload dialog popped up.

To make a long story short, I was following examples that I found online (mostly from these forums) where people were trying to programatically handle dialogs, and in most of those threads, "Manager.DialogMonitor.Start();" and "Manager.DialogMonitor.Stop();" were being called before and after (respectively) the dialog was handled in the code.  As it turns out, though, once "DialogMonitor.Stop();" is called, the DialogMonitor cannot be started again, which is why only the first iteration of my test was working.

Now that I think about it, most of those threads were probably posted by people using the TestStudio VS Plugin as opposed to the Standalone version.  Regardless, I never saw any mention of the fact that explicitely stopping the DialogMonitor in the Standalone version would render it unable to be started again.  As I also found out, it doesn't need to be explicitely started in the Standalone version either, but that's besides the point.

I did notice that in the TestStudio Standalone Documentation, the Start/Stop methods aren't included in the examples, but at the time, I presumed that was for the sake of brevity and merely glanced over it.  Perhaps I'm just blind, but in my humble opinion, it should be more obvious that these two methods should not be used when working with the Standalone version (presuming that the issue I ran into isn't a bug).  It may be a small issue, but it killed much of my productivity for a day.

Max
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
83 views
Hello, support team.

I'm using Telerik TS 2012.1.411.0
Win7 Pro SP1 23bit
IE 9.0.8112.16421

My IE crashes all the time when i work in record mode. It happens about every 15-20 minutes. I see message window that says "Internet Explorer has stopped working...". Then i have to restart IE, move to my currently record position and so on. It's very sad.

Can anybody help me?


Thanks.
Plamen
Telerik team
 answered on 04 May 2012
1 answer
47 views
Hi,
In performance test history view I can only see the test results.
But it would be great if I could sort by pass fail or at leas see which tests pass.
Attached is the screenshot of my current view.
Anthony
Telerik team
 answered on 03 May 2012
3 answers
78 views
Forgive me if this has been asked before, but how could I use both WPF and Web commands in one test case? For instance, I'd like a code step that would open a web browser and check something after performing an action in a WPF application. Could I just use LaunchNewBrowser()?
Anthony
Telerik team
 answered on 03 May 2012
3 answers
101 views

Hi Telerik Team,

for the automated tests I want to generate a unique data for testing. I am creating a record in my application for which the Record Name must be unique so that it would be easy to search. To generate unique record name I am appending DateTime value to the ‘Record Name’ I am reading from input xls via a coded step.

Though I am able to create a new record having unique name by appending Datetime, while searching I want the exact name which I had entered while creating a record. I have declared record name as a class level variable. So I can access it in all the coded steps. But the search functionality has all recorded steps. How can I use a class level  variable from a coded step, in the data driven recorded step?

Dipali
Top achievements
Rank 1
 answered on 03 May 2012
1 answer
70 views
Hello everyone,

I am a brand-new beginner to Telerik, and I wanted to view the Introduction to Telerik WebUI Test Studio video, however, all I get is a flashing movie camera on a tripod image. Can you help me?

Thank you!
Cody
Telerik team
 answered on 02 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?