Telerik Forums
Test Studio Forum
1 answer
88 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
115 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
102 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
123 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
157 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
126 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
117 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
118 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
5 answers
140 views

Hi,

I have a problem I need to use in one test, the data of the other test.

I read this link http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx but my test aren’t sequential.

I want to know if exist any way transform one variable in global and use in all project.

I tried use data source, but the content of my excel file isn’t update.

The content of variable I need global is: text concatenate with actual date, are started the test.

Cody
Telerik team
 answered on 12 Dec 2011
1 answer
123 views
Hi Team,

Using the code I can get a content presenter. I would like to change the text(textbox/checkbox)of all controls accordingly.Here all these controls are adding dynamically so i am not able to locate into DOM Explorer.

Please find attached document for hieraxhy in DOM your reference.

Appreciate your help, It’s really a show stopper for us to go ahead, Please help us to overcome this issue.

Thanks in advance


-Sreeee

Cody
Telerik team
 answered on 11 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?