Telerik Forums
Test Studio Forum
8 answers
287 views
Hi Team,

Need help in clicking an htmlbutton control in my test.

Here is the scenario.

I have an student Information access application, I need to upload the student information from an excel sheet and then in the UI I will see all the student names as buttons . for example if i upload 10 students info i will see 10 buttons in the application.

So if i click on the button it will redirect me to details page.

In this case i have reocrded the step for one student (clicking onthe button and in the details page doing some validation), now i want to use the same test for all the uploaded all students.

since here my need is to click all the 10 buttons and validate the details, how would my recording for one student click will suffice the entire scenatro (since each and every button has same control id but the tag index property is on incremental bases)


How would my test know to click 2nd button till 10 th button during run time.?

Thanks & Regards
G.Chaitanya 







Boyan Boev
Telerik team
 answered on 12 Jun 2014
1 answer
217 views
Hi,

We are trying to automate winform (Desktop) application using Test stuido.
It shows two options web and wpf. When we are using WPF its not supporting winforms. How to handle it.

Application has compiled and converted into .exe file for desktop application. How to test those application.

Please clarify.

Thanks.
Ivaylo
Telerik team
 answered on 11 Jun 2014
4 answers
73 views
                 I have a issue in drop down.i have record all the step correctly.but while I am run those in dropdown step its showing error.
ExecuteCommand failed!
InError set by the client. Client Error:
System.ApplicationException: Unexpected error thrown while setting the dropdown ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: DropDown was unable to find the item 'Español' in the dropdown requested. DropDown had the following values only:
 
   at ArtOfTest.InternetExplorer.IECommandProcessor.SelectDropDown(IHTMLElement target, Int32 index, String text, Boolean useValue)
   --- End of inner exception stack trace ---
   at ArtOfTest.InternetExplorer.IECommandProcessor.SelectDropDown(IHTMLElement target, Int32 index, String text, Boolean useValue)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'SelectDropDown',Target:'ElementId (tagName: 'select',occurrenceIndex: '0')',Data:'T:Español',ClientId:'Client_99a9e3b2-11c1-4cab-9ca3-31a3dcac3d3d',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ApplicationException: Unexpected error thrown while setting the dropdown ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: DropDown was unable to find the item 'Español' in the dropdown requested. DropDown had the following values only:
 
   at ArtOfTest.InternetExplorer.IECommandProcessor.SelectDropDown(IHTMLElement target, Int32 index, String text, Boolean useValue)
   --- End of inner exception stack trace ---
   at ArtOfTest.InternetExplorer.IECommandProcessor.SelectDropDown(IHTMLElement target, Int32 index, String text, Boolean useValue)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none

so dropdown value is not comming .please response ASAP .its urgent.
Ivaylo
Telerik team
 answered on 11 Jun 2014
1 answer
42 views
I am using Test Studio's trial version on my windows 7 machine.
When I record test (approx 40 steps or so), test studio performs really slow.
Entire UI of test studio starts behaving very slowly and it becomes very difficult to work upon it.

OS -> windows 7 ultimate - 32 bit
test Studio -> 2014.1.410.0
Processor - >intel core i3 2.4Ghz
RAM - > 4GB (3GB usable)

Ivaylo
Telerik team
 answered on 11 Jun 2014
5 answers
85 views
Hi,

I am performing one scenario in which when I hit Save Button, message box appears/pop-up and I need to hit OK button to go further. I am attaching Screenshot of Messagebox which appears on Screen. Now challenge is, nor test studio is able to capture this messagebox neither hover over highlighting method. Also this messagebox is not showing in DOM tree. Let me know how I put test step for this?

Thank you.
Cody
Telerik team
 answered on 11 Jun 2014
3 answers
46 views
Hi,

My Application build on silverlight 5 and im using chrome version 33.

I have enabled Telerik Test Studio Chrome Automation 2013.2.1327.0 ,Telerik Test Studio Recorder 2013.2.1327.0 & Telerik Exploratory Testing Extension 1.0 In Chrome, While try to record the application in chrome, the Recorder menu comes up and only Navigation to url works, No other actions are getting recorded,

Can you please tell me what im i missing here ?

Thanks & Regards
Aneesh
Ivaylo
Telerik team
 answered on 10 Jun 2014
2 answers
83 views
 I know that you can "Reference an Element in Code",but can I do the reverse?
I would really like to be able to use an element that i captured during
run time, and use it in the "front end" test. Is there anyway to do
this? It would really help us in our testing.

I have attached a Screen shot of the coded step and the Boolean I would like to use in the "front end" / main test.
Boyan Boev
Telerik team
 answered on 10 Jun 2014
3 answers
93 views
Hello I have Problem in running my Telerik Test.

During selecting an Item from a Combobox it comes up a message that said the actual Window is not maximized. But the Window ist maximized. The Error did not comes in everytime only sometimes. But i am worry about it.
The error message is:


'Fail' : 6. Select by text 'Titel' in MetadataComboBoxCombobox
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Point (394, 1015) outside bounds of browser window: (0, 105, 1280, 879)
You might need to maxmize the browser while running this test. Try adding the following code in a coded step: ActiveBrowser.Window.Maximize();
InnerException:
System.InvalidOperationException: Point (394, 1015) outside bounds of browser window: (0, 105, 1280, 879)
You might need to maxmize the browser while running this test. Try adding the following code in a coded step: ActiveBrowser.Window.Maximize();
at ArtOfTest.WebAii.Silverlight.SilverlightApp.ValidateMouseLocation(Point point)
at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference)
at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType)
at ArtOfTest.WebAii.Silverlight.UI.ComboBox.SelectItemByText(Boolean simulateRealUser, String text)
at ArtOfTest.WebAii.Silverlight.UI.ComboBox.SelectItemByText(Boolean simulateRealUser, String text, Boolean openDropDownBeforeSelection)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.ComboBoxSelectItemActionDescriptor.Execute(IApplication hostApp)
at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)                                                                  

Please help me. Christian




Ivaylo
Telerik team
 answered on 09 Jun 2014
7 answers
204 views
Hi,

We need some assistance customizing a step in code to click on a specific element that contains a specific id

Here is what we tried, but keep getting "object reference not set to an instance of an object"

// Click 'Gear_ico'
HtmlControl gear = Pages.MainEditPage.Gear_ico.Find.ByAttributes<HtmlControl>("id=codelookup_STD_RECEIPT_DELIVERY");
gear.Click(false);
Boyan Boev
Telerik team
 answered on 09 Jun 2014
1 answer
88 views
http://www.telerik.com/videos/teststudio/load-testing-web-services-with-telerik-test-studio
http://blogs.telerik.com/automated-testing-tools/posts/13-11-20/load-testing-web-services-with-test-studio

Load testing of webservices are detailed in your blog and a video that you have created. However I'm not seeing anywhere where you have actually showed the results of web services after the testing is done.

I have created a load test that shows all of the services calls in the profile. I made sure all of them were checked before saving and starting the load test.

The results that actually end up coming up in the analysis are only a small fraction of what is in the profile and doesn't show one service call.
Cody
Telerik team
 answered on 06 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?