Telerik Forums
Test Studio Forum
1 answer
84 views
In my OOB Silverlight application, I am extracting a value for current inventory $(QOH) and adding one to the value.  How do I verify the new value of $(QOH) + 1 within a coded step?
Mario
Telerik team
 answered on 30 Jan 2013
6 answers
96 views
Hello,

We have several projects stored in TFS for a couple weeks now.  This morning, I opened the project and one of the files was not the latest version.  Is Test Studio supposed to Get Latest when opening the project or is that something that we should manually perform when we open the project?

Thanks!
Alan
Top achievements
Rank 2
 answered on 30 Jan 2013
2 answers
93 views
Hi there
       Apologies if this has been asked before but how do you count the number of options in a HTMLselect element?

Thanks

Carl
Carl
Top achievements
Rank 1
 answered on 30 Jan 2013
3 answers
61 views

Hi All , 
I need to know that can we do Parameterization  in Test studio for IOS.
 

for example : 
cant we parameterized log in .

can we log as 3 different user with in same test run ?

Appreciate your help on this

Thanks and Regards

DIL P 


Ivaylo
Telerik team
 answered on 30 Jan 2013
10 answers
273 views
I am getting the following error while trying to click on a link:

ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_edc9b035-4116-44ce-9062-e322cd06eb14',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
 ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---



This page that I am testing uses a table design where the "links" are simply the table cells that have been assigned the 'onlick' method that runs a javascript. Example:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:85px; height:;" onclick="javascript:Click1('Admin.aspx?')">

In order to record this I have tried both clicking on the link and assigning "left click" from the blue bubble menu. While record it works but when playing back the recording I get the above error.
Stoich
Telerik team
 answered on 30 Jan 2013
1 answer
104 views
Hi,

I am actually testing a web app that performs search based on entered search criteria and also displays the search parameters label exactly as you entered after the search right next to its search text boxes. Now I have made searching data driven so that each time new search parameter is entered in the text field. I also created validation check point of "text contains" so that i could verify that web app is displaying the same search parameter label that was entered for searching. When I make the validation check point data driven by passing the variable that i created in local datasheet for searching, my test cases fail to validate the checkpoint. Is there a right way to accomplish what i am trying to do?

Regards
Salman
Boyan Boev
Telerik team
 answered on 29 Jan 2013
4 answers
205 views
Connecting to the Model Popup failing in my Test Case.

My scenario is I have to create a new record and i have to edit that record. While creating the record i am able connect Modal popup successfully with the below code.

Manager.SetNewBrowserTracking(true);
Manager.WaitForNewBrowserConnect("http://mytestapp/Tools/Subject/dialogs/edit.aspx", true, 5000);
Manager.ActiveBrowser.WaitUntilReady();
Manager.SetNewBrowserTracking(false);

But while editing the same record it can't able to connect to Modal popup, because the URL is having query string .

After removing the query string it is working in IE but failing in FireFox and Chrome

Can you please guide me what can be done to make the test case work in all browsers?

Log for the failure is:

'21-01-2013 17:40:52' - 'Fail' : 25. [Sub_Test_CodedStep7] : Connect to modal pop-up window : Edit Subject - Microsoft Dynamics CRM -- Webpage Dialog, ConnectToPopup=True
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Sub_Test_CodedStep7] : Connect to modal pop-up window : Edit Subject - Microsoft Dynamics CRM -- Webpage Dialog, ConnectToPopup=True'.
InnerException:
System.OperationCanceledException: Exception occured waiting for the new browser to connect. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)


Ivaylo
Telerik team
 answered on 29 Jan 2013
3 answers
76 views
My application is having a datagrid. It contains records with different coulmn values and each record has a button "Edit"(same name and properties). How to click a particular Edit button? Please help
Plamen
Telerik team
 answered on 28 Jan 2013
7 answers
122 views
I already have my elements in the element explorer and I would like to add a Hover step to one of them, similar to how I can use the Step Suggestions to add a Click step (BTW, I really like the Step Suggestions feature) without having to re-record.

Can I do this for a Hover?

Thank you for your time and assistance.

Donna
Alan
Top achievements
Rank 2
 answered on 28 Jan 2013
1 answer
59 views
Hi,

I am using an updated version 2012.2.1317.0
OS: Win 7 64 sp1
IE 8.0.760

I record a typing into silverlight(5.1) text box. and I can "Run" the testing successfuly from begining to ending.

but it can not type the whole string by "Run - From here". Only one letter of the string can be entered.

I searched the forums but seems no answer. and old versions in XP do not have this issue.

Could you guys help? thanks in advance.


Boyan Boev
Telerik team
 answered on 28 Jan 2013
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?