Telerik Forums
Test Studio Forum
3 answers
146 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
101 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
182 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
115 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
103 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
126 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
479 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
299 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
2 answers
115 views
Hi,

I have created a test and parametrized the steps using the data binding. Now the loads of data are entered into a database table and I need to check the cycle. For example, I am creating a user from the front end and I want to check the database to ensure that the same data is exists in the DB or not.

I am using SQL server 2008. Please let me know if any built in feature available in the tool or else please provide me the sample C# code to check the same.
Swarnambar
Top achievements
Rank 1
 answered on 16 Dec 2011
1 answer
99 views
I have Javascript control which is initialized when i hover mouse over the link.
http://screencast.com/t/6TWPzjoP
Following steps are generated by Telerik
http://screencast.com/t/TjouyuM9U

But if I run the test, pop-up window doesn't open and test failed with:
"Unable to find the dialog with caption 'Select Values -- Webpage Dialog'"

How this element should be handled?
Anthony
Telerik team
 answered on 16 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?