Telerik Forums
Test Studio Forum
3 answers
161 views
Hi,
When logging out of the system I'm testing, IE(8) throws a dialog box 'The webpage you are viewing is trying to close the window. Do you want to close this window?'

Test Studio seems unable to handle this dialog box.
The recorded step for handling the dialog box doesn't work on playback, and I've tried all the dialog handlers available.

Is there a way round this?

Is it possible to execute a left mouse click blindly on the screen just specifying a set of coordinates?

Thanks
Clive
Plamen
Telerik team
 answered on 04 Aug 2011
11 answers
218 views

hello,

I have run a test that contains 15 steps on a 4000 categories that I recovered from a binding to my database,
The test
runs, but after a while it stops and sends me a message error "out of memory"
is this problem  related to the number of categories?

Samir
Plamen
Telerik team
 answered on 04 Aug 2011
1 answer
81 views

My scripts seem to error because Telerik exist the browser as soon as the command to logout is sent.  Is there a way to prevent this?

Thanks,

John

Anthony
Telerik team
 answered on 03 Aug 2011
1 answer
104 views

Is there a way to validate an HTML Grid to an Excel spread cheat?  I need to do search results I have a grid list and I would not mind comparing that to an Excel sheet.

 

Thanks,

John

Anthony
Telerik team
 answered on 03 Aug 2011
1 answer
174 views

When recording, I see the command “Select Index” by a number.  Is there a way to change this to select by a Text field? 

Thanks,

John

Anthony
Telerik team
 answered on 03 Aug 2011
2 answers
177 views
Hello
Is it possible to be able to automatically bypass a radcaptcha verification - to continue onto the next step of a test?

Thanks
Cheryl
Top achievements
Rank 1
 answered on 02 Aug 2011
1 answer
366 views
Hi,

I have to test the mandatory fields of a form. So I try to save the data without fill in all the fields.
There is a javascript to pop up the alert dialog. And I try to handle the dialog (Button OK to continue).

The excecution fail on IE and Firefox.
I get this error :
Timed out waiting '5000' msec. for any dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

On Chrome and Safari, this works fine.

Can you help me to make this step works on IE and Firefox ?

Thanks,

Pierre
Anthony
Telerik team
 answered on 01 Aug 2011
2 answers
129 views
Hi Telerik team,

I am trying to verify the contents of a RadGridView control. The rows from the grid are results of the Find function.
For example I tried to search for 'firstname' the grid will give me:

First Name Last Name Middle Name
firstname1 lastname1 m
firstname2 lastname2 m

I used the "hover over highlighting = enabled" to get the RadGridview control properties and perform verification.
I explored the "Quick Tasks" for getting the verification but I didn't find any.
I also explored the "Build Verification" and also no luck.
So I tried adding a custom step but when I write this code,
Assert.IsFalse((ArtOfTest.Common.CompareUtils.StringCompare(Pages.CreateNewMeeting.SilverlightApp.FindResultsGridViewRadgridview.Rows.ToString(), "firstname", ArtOfTest.Common.StringCompareType.Contains) == false));
I am encountering

System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.WebAii.Controls.Xaml.RadGridView.get_GroupRows() at Telerik.WebAii.Controls.Xaml.RadGridView.get_Rows() at ...

In Coded UI, we are using this approach where we highlight the whole table and get the "InnerText" property.
It will give us this result:
"First NameLast NameMiddle Namefirstname1lastname1mfirstname2lastname2m"
So, for verification, we simply put something like this:
Assert.IsTrue(Pages.CreateNewMeeting.SilverlightApp.FindResultsGridViewRadgridview.Rows.Contains("firstname"));

Any thoughts on this?

Thanks,
Mariko

Mariko
Top achievements
Rank 1
 answered on 01 Aug 2011
3 answers
86 views
I was trying to add a verification step where I check the language on a button
I went to my element library, clicked on the button and then selected Step Builder
My button  is defined as
tagname=button,InnerText=Calculate

I was given a list of verifications which I could choose to use, one of the verifications was the TextContent.  When I looked at the TextContent it was empty.  When I added it to my script the expected string value was empty. 

After addiing a verificatiion using Step Builder do you expect users to enter the string or is this a bug?

Thanks
Mark
Top achievements
Rank 1
 answered on 31 Jul 2011
1 answer
123 views
Hi Team,

I am experiencing an object identification failure issue while executing f my scripts,Actually one of my objects is failing in one script but the same object is handled properly by other script.
These 2 scripts are defined as methods in same class which access a common method defined in the class.

Also i have used sufficient wait intervals.

The error is like , "Object reference not set to an instance of an object"



Thanks & Regards,
Dev
Konstantin Petkov
Telerik team
 answered on 30 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?