Telerik Forums
Test Studio Forum
2 answers
80 views
when first test fails, i want to stop the execution of the all test in the list.
What I need to do for this happen?
Thx.
Natasha
Top achievements
Rank 1
 answered on 27 Dec 2011
5 answers
226 views

How to execute a Test Script from a opened browser in my system. I don't want the Telerik to Invoke a browser automatically.

E.g.
Step 1 - Login is performed, now I have the application logged in. (Login Script)
Step 2 - Logout from the application by cliecking logout link in the dashboard. (Logout Script)

If I try to run a script its automatically invoking the another browser. But the script should work on the already opened browser by the Login Script.

Any suggestions please.

Thanks & Regards,
Dalsingh


Anthony
Telerik team
 answered on 21 Dec 2011
3 answers
164 views
Hello,

When I schedule tests on a remote PC the testlist fails and the log says "Object reference not set to an instance of an object."
The testlist passes when run locally.

I have Test Studio installed on my local machine & have installed 'Telerik Test Studio Run-Time' on a build server.
I have followed everything in the videos here: http://tv.telerik.com/series/qa-edition-scheduling-remote-execution 
The build server has been configured as a scheduling server and execution server.
The Test studio I have running on my local PC can connect to the server, and I can schedule tests.

The full version of test studio doesn't need to be installed on the build server right? Just the run time version? 

If you could help me out here it would be much appreciated. 

Cheers,

-Matt
Plamen
Telerik team
 answered on 21 Dec 2011
1 answer
122 views
Hi.
How can be second window opened with same session as first window? By session I mean same session cookie.

Question is actual for IE, Chrome starts new browser with same secure cookies.
Anthony
Telerik team
 answered on 21 Dec 2011
4 answers
204 views
Hi Telerik,

I want to create a stand alone test that can be included to the other tests so that it can use the ExtractedValue or execute itself without the extractedvalue step
So i wrote this code
if(Data["Name"].ToString() == "")
{
    Item0Caret0.SetText(true, "Hello", 1, 10, false);
}
else
{
    Item0Caret0.SetText(true, Data["Name"].ToString(), 1, 10, false);
}

Then i got this error
InnerException:
System.ArgumentException: The extracted variable 'Name' does not exist in the store. Make sure there is an extract step that has executed before executing this step.
   at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.GetValue(String name)
   at ArtOfTest.WebAii.Design.BaseWebAiiTest.TestData.get_Item(String column)

I thought of adding a step to the other test so that the extracted variable can exist. But it may overwrite the real extracted variable when executed.

Also i would like to ask if this is possible:
I have a TestList that contains Test A and Test B
Test A contains a extracted variable TestVar
Is it possible that Test B can use the extracted variable TestVar? Without setting Test B as a Test step in Test A?

Thanks
Stoich
Telerik team
 answered on 20 Dec 2011
3 answers
133 views
Hello,
I need to find a element in radgridview, but I don't know the page of the element.
My radgridview have 2 columns (Name, Description). I want search by Name.
I tried use the method Find.ByTextContent (GrdResultsGenericRadgridview.Find.ByTextContent("Value");)
I hope someone can help.
Best Regards.
Plamen
Telerik team
 answered on 19 Dec 2011
1 answer
119 views
Hi Telerik Team,

Can i add a Plugin, App.config file in the test studio? Is it possible to have reusable method for the whole test studio project?

Thanks.
Plamen
Telerik team
 answered on 19 Dec 2011
2 answers
152 views
Hi,

We are using Radexpander control,while loading expander inernally we are adding some controls(Textboxes,Combobx.........).here i want to get the all controls  which are available in the Radexpander .please guide me to resolve this.it's very very urgent for me.


Thanks,
-Sree
Tina Stancheva
Telerik team
 answered on 16 Dec 2011
11 answers
519 views
My application is opened windows in following order:
Window1 opens Window2 which opens Window3
W1 - W2 - W3

After I close Window3 Telerik doesn't "see" Window2.

I have following test steps:
1. Opening W1
// Connect to pop-up window : '/Site/main.aspx?'
Manager.WaitForNewBrowserConnect("/Site/main.aspx?", true, 5000);
Manager.ActiveBrowser.WaitUntilReady();
ActiveBrowser.Window.SetFocus();
2. Opening W2
// Connect to modal pop-up window : Look Up Records -- Webpage Dialog
if ((ActiveBrowser.BrowserType == BrowserType.InternetExplorer))
{
    ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions ieActions = ((ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions)(ActiveBrowser.Actions));
        ieActions.ConnectIEDialog("Look Up Records -- Webpage Dialog", 5000);
}
Manager.WaitForNewBrowserConnect("/Site/_controls/lookup/lookupinfo.aspx?LookupStyle=multi&browse=0&objecttypes" +
                "=4300", true, 5000);
Manager.ActiveBrowser.WaitUntilReady();
3. Opening W3
// Connect to modal pop-up window : Add Marketing Lists to Campaign -- Webpage Dialog
if ((ActiveBrowser.BrowserType == BrowserType.InternetExplorer))
{
        ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions ieActions = ((ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions)(ActiveBrowser.Actions));
        ieActions.ConnectIEDialog("Add Marketing Lists to Campaign -- Webpage Dialog", 5000);
}
Manager.WaitForNewBrowserConnect("/Sitecore/_controls/lookup/lookupinfo.aspx?LookupStyle=multi&browse=0&objecttypes" +
                "=4300", true, 5000);
Manager.ActiveBrowser.WaitUntilReady();
ActiveBrowser.Window.SetFocus();
4. Closing W3
// Close modal pop-up window : Add Marketing Lists to Campaign -- Webpage Dialog
ActiveBrowser.Close();

After closing W3 Window2 get focus but Telerik lost it and can't do following steps.
How I could get my test working?
Anthony
Telerik team
 answered on 16 Dec 2011
3 answers
329 views
Hi,

I am able to trace the details in the log using the 'Log.WriteLine(LogType.Trace,"Testing Log");' . But if I want to print the log location using  'Console.WriteLine("Log Location " + Log.LogLocation);' , its not returning anything.

Can you please tell me how I customize the report on the Log file in Test Studio and how I configure my own path of Log creation?
Plamen
Telerik team
 answered on 16 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?