Telerik Forums
Test Studio Forum
3 answers
77 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
316 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
134 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
240 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
95 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
158 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
84 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
4 answers
168 views
Hi,

I have this issue with generating Dialogs in tests where I use only Steps (not coded steps).

My problem is when Dialog window is detected and I'm trying to click upload button in dialog window, so Telerik always generate "generic' dialog step. I think there is a problem with language in my windows (Czech), because Telerik can work only with English version of Windows.

Although I can edit 'generic' dialog step and change 'DialogTitle' to my language, but I can't edit FileUpload path.

Another possible way is to generate Dialog step in Telerik Test Studio and choose Upload dialog, but there I can't change 'HandleButton' and automatic test can't find your predefined buttons. 

Of course I could to change the step in coded step, but coded step are banned in my tests.

So my questions are.
Is there any possible way, how to correctly detect right button for me?
Are you going to implement some updates in next version?

Best regards



Plamen
Telerik team
 answered on 28 Jan 2013
1 answer
71 views
Hi Test Studio Team,

i am using the current version of Telerik Test Studio with the Release-Number : "2012.2.1204".
Note: This is the new current version, that i can Downlaod and Install. A student-Employee has a test project with the version "2012.2.1220" created. And i can't open this project with my Licence (not with Standalone Version and not with VS-Plugin). 

What should i do?  to use the automated tests of this project and to implement further??

I need your Help!!!

Sincerely yours
Mostafa
Plamen
Telerik team
 answered on 25 Jan 2013
1 answer
93 views
Hi,

I have used the code example in test studio online documentation

I changed the line 

Log.WriteLine(cookie.Name);

as 
Log.WriteLine(cookie.Name + " expires " + cookie.Expires);

but it always print 01.01.0001 00:00:00 as expire time, indeed it is not.

Thanks

Ercan
Plamen
Telerik team
 answered on 25 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?