Telerik Forums
Test Studio Forum
2 answers
139 views
Hi,

I have created a test and parametrized the steps using the data binding. Now the loads of data are entered into a database table and I need to check the cycle. For example, I am creating a user from the front end and I want to check the database to ensure that the same data is exists in the DB or not.

I am using SQL server 2008. Please let me know if any built in feature available in the tool or else please provide me the sample C# code to check the same.
Swarnambar
Top achievements
Rank 1
 answered on 16 Dec 2011
1 answer
126 views
I have Javascript control which is initialized when i hover mouse over the link.
http://screencast.com/t/6TWPzjoP
Following steps are generated by Telerik
http://screencast.com/t/TjouyuM9U

But if I run the test, pop-up window doesn't open and test failed with:
"Unable to find the dialog with caption 'Select Values -- Webpage Dialog'"

How this element should be handled?
Anthony
Telerik team
 answered on 16 Dec 2011
1 answer
112 views
I want add text to frames body.
Create step:

Pages.Webmail60Inbox0.FrameFrame1.HtmlTag.Text = "Text for validate";

But the error message appeared:

Line 202: (CS1061) 'TestProject2.Pages.Webmail60Inbox0Page.FrameFrame1Frame' does not contain a definition for 'HtmlTag' and no extension method 'HtmlTag' accepting a first argument of type 'TestProject2.Pages.Webmail60Inbox0Page.FrameFrame1Frame' could be found (are you missing a using directive or an assembly reference?)

Why?
Anthony
Telerik team
 answered on 15 Dec 2011
1 answer
135 views
I am trying to select an item from, what I think, is is a generic RadComboBox. I can use the Open method but an item cannot be selected.

The error I get when trying to select by Index, by Text or by Value is:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException was unhandled by user code
  Message=ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [$find(\'ctl00_ContentPlaceHolder1_EditEvidence1List_OwnerUsers_UserDropDownList1_rcbUsers\').get_items().getItem(\'0\').get_text()] failed! Please make the function exists and the call is using the correct prototype signature. Javascript error: [object Error] 
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$find(\'ctl00_ContentPlaceHolder1_EditEvidence1List_OwnerUsers_UserDropDownList1_rcbUsers\').get_items().getItem(\'0\').get_text()',ClientId:'Client_251e965a-2e85-4cb8-af94-70eba087517c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [$find(\'ctl00_ContentPlaceHolder1_EditEvidence1List_OwnerUsers_UserDropDownList1_rcbUsers\').get_items().getItem(\'0\').get_text()] failed! Please make the function exists and the call is using the correct prototype signature. Javascript error: [object Error] 
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.


  Source=ArtOfTest.WebAii
  StackTrace:
       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.ExecuteCommand(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
       at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName, T defaultValue)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.CallMethod[T](String methodCall)
       at Telerik.WebAii.Controls.Html.RadComboBoxItem.get_Text()
       at vsuiteautomation.TC314CreatenewContentProjects.<TC314__Create_new_Content__Projects_CodedStep2>b__0(RadComboBoxItem x) in C:\Users\David Adams\Documents\Test Studio Projects\vsuiteautomation\prod\regression\TC314 - Create new Content - Projects.tstest.cs:line 92
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at vsuiteautomation.TC314CreatenewContentProjects.TC314__Create_new_Content__Projects_CodedStep2() in C:\Users\David Adams\Documents\Test Studio Projects\vsuiteautomation\prod\regression\TC314 - Create new Content - Projects.tstest.cs:line 92
  InnerException: 

The id of the dropdown is: ctl00_ContentPlaceHolder1_EditEvidence1List_OwnerUsers_UserDropDownList1_rcbUsers.
Stoich
Telerik team
 answered on 15 Dec 2011
2 answers
116 views
Hi,
I configured one server as schedule server, now i want to use it as an execution server, then i open "Configure as Execution Server" in this server, click register, but only an output path selection window displayed, i need to select a schedule server.
see my attachment.
Kevin
Top achievements
Rank 1
 answered on 15 Dec 2011
2 answers
143 views
Resolved the issue by deleting the config file and re-installing the Test Studio.
Vasu
Top achievements
Rank 1
 answered on 14 Dec 2011
4 answers
178 views
Hi.
My control, radtreeview, doesn’t provide the method FindNode.
Any idea???
Natasha
Top achievements
Rank 1
 answered on 14 Dec 2011
3 answers
149 views
Hello,

I've been testing an application that uses an aspera plugin. I've downloaded the Aspera plugin and used it without issues. However when I try to run a or record a test using telerik, it seems my browser no longer recognizes that I have the plugin. It tells me I need to install aspera plugin to upload files. What makes this more confusing is that none of my colleagues are experierncing this problem.

I've tried uninstalling/re-installing aspera, aswell as installing it again from the link, to no avail. Has anyone else experienced a similar issue or know a way of resolving this?

Thanks,
Joseph
Plamen
Telerik team
 answered on 14 Dec 2011
1 answer
127 views
Tool is recognizing the grid and all the contents , but it doesn’t reads the linkbutton in the grid.
For example I have test data grid with following columns :
Name,Email and Designation.
In the above column Name and Email are text but Designation is the linkbutton.When i read the values from the grid tool reads Name and EMail but it doesn't reads the Designation.

I have used the following code to read the values from the grid.

foreach (HtmlTableRow r in Pages.Http172160.DgTestDataTable.AllRows)
            {
                foreach (HtmlTableCell c in r.Cells)
                {
                    Log.WriteLine("Identifying Grid Items:"+c.TextContent);
                }
                
            }


Please refer the attached Sample Code used.
Anthony
Telerik team
 answered on 12 Dec 2011
1 answer
139 views
Hello,

Are there are any futures plans to enhance the Manual Test functionality?

For example, a couple of useful items can be "Expected Results/ Behavior "  and “Actual Results/Behavior” similar to the format below:

Test Step/Action                    Expected Behavior        Actual Behavior
    
Go to URL www.google.com     Google page displays

Thanks in advance for your response.
Cody
Telerik team
 answered on 12 Dec 2011
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?