Telerik Forums
Test Studio Forum
4 answers
157 views
We conduct server maintenance on Wednesday nights (applying Windows updates etc.) and I run a series of tests (some as Test Lists and some not) to verify everything is back up. 

For several week now, I have encountered a strange thing happening with my Test Studio.  I try to kick off my test lists and they merely open one blank browser page after another.  When this situation occurs, I cannot run a single test alone (just get a blank page) and I cannot create a new test (click actions won't record).  Closing and reopening Test Studio does nothing to remedy the situation.

I have found that the only way to fix it is completely close everything down and reboot my machine.  Once back up the tests run normally.  Rebooting is very inconvenient especially if I'm remote.

Anyone have an idea of what is causing this and a fix?  I cannot seem to make it do it, it just this on occasion (about 6 or 7 times in as many weeks).
Dennis Minard
Top achievements
Rank 2
 answered on 20 Feb 2012
1 answer
82 views
I have installed test studio and recorded opening a browser and navigate dating to google.com.  
It when rnning the test it runs fine when i use Firefox but in IE9 it sets about:blank in the link and of course fails.  The log Contains the error that follows.  

How does one correct this error?

Thanks

'02/17/12 3:53:48 PM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.Management.ManagementException: Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObject.Get() at ArtOfTest.Common.Extensions.ProcessExtensions.GetParentProcess(Process process) at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename) --- End of inner exception stack trace --- at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename) at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams) at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp) at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)------------------------------------------------------------'02/17/12 3:53:48 PM' - Test completed!

Plamen
Telerik team
 answered on 20 Feb 2012
3 answers
148 views
Hi,

This is hari. i have a question to ask.
some time back, i have used this telerik test studio trail for automating our client application(6 months back). We did this as a POC to our client (my client is already using telerik controls in our application,hence there are customer/client to you also).
But at that time, you supported only record and replay for automating the applications.

from that time, we are looking for any tools in the market which automate our silverlight application with out concept of record and replay. ( reason for not going to record and replay procedure is if any change in the application will need to re-record again).

Recently we found a tool called TestComplete 8(smartbear.com), which supports record n replay and J#/VB Script/Delphi/C++/C# scripting method, which really suits to our requirement and started working on this scripting way to automate our application.

This tool is 80% successful in completing our requirement(20% lags becos its in emerging state, need to be fix the issues what customers raises) please find below C# scripting to login in to my application for reference using testcomplete 8:
*************************************************************************************************************************

function Login()

{

var iexplore, URL,app,bi,us,pwd,lb;

 

iexplore =

 

TestedApps["iexplore"]["Run"]();

 

URL = "http://xxxxxxxxx/xxx/";

if (!iexplore.WaitPage("*", 10000)["Exists"])

 

 

Sys["Keys"]("[Esc]");

 

iexplore["WaitPage"]("*", 2000)["ToURL"](URL);

iexplore.WaitChild("form1",5000);

app = iexplore["Page"]("http://xxxxxxxxxxxxx/xxx/")["Form"]("form1")["Panel"]("silverlightControlHost")["Object"]("XXXSLApp");

 

bi = app["SlObject"]("RadBusyIndicator","");

us = bi["SlObject"]("PART_ExtendedTextbox");

us.Keys("username");

pwd = bi["SlObject"]("Password");

pwd.Keys("password");

lb = bi["SlObject"]("LoginButton");

lb.Click();

}


*************************************************************************************************************************

We went with POC of this to our customer using testcomplete 8(they are customer to you also bcos using telerik controls in our silverlight application). They are happy with the approch of us, but they were asking us to check whether this scripting procedure of automating the application is available with telerik also.

Please let me know if this kind of approach is available to automate our application in telerik or not. Your response is going to be big help for us.

Thanks.,
Hari/wish

   


Anthony
Telerik team
 answered on 18 Feb 2012
4 answers
105 views
I'm user of Telerik Test Studio 2011.2.1117.0. My license will be expired 24.11.2012.
What is last version of Telerik Test Studio? How could I upgrade to this version?
I'm asking about it because there are several Telerik's bugs that stop my testing.
Anthony
Telerik team
 answered on 17 Feb 2012
4 answers
166 views
our product is using in different project with different configuration.
but the basic function is the same.
i just want to record one project with all the basic functions, then i can reuse it in different project.

what i did is that after i finish recording one project(the replay is ok),i save all the project with the steps in the name of other project's name.

then in the new project,i just change the first navigate which change the url to the new one.
but the replay didn't work like what i expected.

after that i found, the url of frame is still the same with the first one.
so,do i need to change all the url of the frame by myself one by one?
or there is a simple way to solve it?

thank you
Anthony
Telerik team
 answered on 17 Feb 2012
3 answers
183 views
i found many function like command buttons in our system was almost the same.
so in order to save the time,
can i copy the element from the exsiting elements list?

for example
i have the add button which is recorded in the elements list.
and other buttons like modify, delete
i can copy the new one only to edit them by changing the finding logic,
other than record them again.

is that possible?
Anthony
Telerik team
 answered on 17 Feb 2012
2 answers
325 views
Hi Guys,

I have a situation where a textblock is created whose name is either 'TrueTextBlock' or 'FalseTextBlock'. Ignoring the fact it's quite a poor idea to change the name of a textblock based on the text content is there a way I can do something like this:

if(Pages.HardCatNextGen.SilverlightApp.FalseTextblock.Wait.ForExists(1000))


Where ForExists returns 'true' if FalseTextBlock exists and 'false' if FalseTextBlock does not exist.

ForExists works to check if a control exists (correct me if I'm wrong), however it doesn't return a true or false value if the control in question exists or doesn't.

Is there such a function I could leverage to do what I want?

Cheers
Cody
Telerik team
 answered on 17 Feb 2012
2 answers
179 views
Hi,

I would like to read the value that appears in the tab of the page I'm viewing in Internet Explorer 9.  For instance, this page I'm looking at now is called "New Forum Thread | Telerik..." (followed by a string defining the thread, etc.).
In my Code Behind window I have this VB sub:

        Public Sub GetTabTitle()
            Dim pageTitle As String = ActiveBrowser.PageTitle
            Log.WriteLine(pageTitle)
        End Sub
I haven't added any Imports so the script just has the default ones.
When I execute my script the log shows:

C:\Users\edwardni\Documents\Test Studio Projects\Base\SystemAdmin\SA_Themes\ValidateThemesScreen.tstest.vb: Line 72: (BC30516) Overload resolution failed because no accessible 'AreEqual' accepts this number of arguments.


Can anywone advise where I am going wrong?

Thanks,
Nigel Edwards, Transition Computing.
Nigel
Top achievements
Rank 2
 answered on 16 Feb 2012
7 answers
233 views
Hi Cody,

One more issue...

I have scenario like below.....

after login in to my application, i will search on some criteria...and will return data.

iam havig requirement like i should compare number of rows displayed on grid with number of rows count from database query execution.

iam succesfully able to connect db and getting number of rows information but while comparing with radgridview rows...am not able to set count verification for the radgridview in sentence verification builder.

after enabling hover over highlighting, i placed curser on one of the row on grid and selecting the uppermost option ie., radgridview...and selcted build verification...opended sentence verification builder popup containing count verification, gridview state, property , location & visibility option verification.

upon selecting count verification, am seeing row count option first drop down and then equal option second drop down.

upon checking last drop down..... it is showing "value?" ... but it should display numbers of rows by default....
here even  i set a value of number of rows manually....

upon executing this test case, this step is failing and upon chekcing log saying the message that

Expected 46, Actual 0, compare failed......

Please help me here....

where should make a change,,,,,tomorrow is my demo...running with poresuure....

Thanks.,
Hari
Plamen
Telerik team
 answered on 14 Feb 2012
27 answers
469 views

Hello

I try to test wpf application the studio start record the application and after the application loaded it closed and can't record anything.

What can be the problem?

Best regards

Ehud

Anthony
Telerik team
 answered on 14 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?