Telerik Forums
Test Studio Forum
3 answers
166 views
I work from home developing automated tests. There is a new cloud machine set up for me to execute tests while I continue to work on other tasks and to take over the load testing responsibilities. However, I am running in to problems trying to connect the execution box with my local scheduling box.

Remote box (RDP)
I am logged in to our VPN to RDP to the execute box.
Execution software is installed.
I can PING my local scheduling box via IP only, not by machine name.
When I try to register this box I get the error: Unable to connect.
Server details (service URL) are correct.
<servername>:8009 is ESTABLISHED.

Scheduling box (LOCAL)
Scheduling and IDE software is installed and registered.
When running NETSTAT I do not see <localIP>:8009 listening or ESTABLISHED.
I can PING my remote box via IP.

Any help would be greatly appreciated.
Plamen
Telerik team
 answered on 28 Oct 2011
1 answer
72 views
I need to execute a javascript function against an Iframe - is this possible in Telerik.

Thanks
Anthony
Telerik team
 answered on 27 Oct 2011
1 answer
79 views
I am creating a test with coded steps using C#. I created a coded step to verify whether the specific column of the binding Exel data sheet is NULL or not.  If it is null, do thing 1. If it is not, do thing 2.
I wanna know that how to fetch the data, I mean , use which method or property.
For example:
string flag;
flag = ?     // flag is the data (column name is "CustomerName") from Exel.  I want to know what i shoud code to replace the "?".
if (flag==" " || flag == null)
   {
         do thing 1;
    }
else
   {
        do thing 2;
   }
 It is urgent. Thank you very much.
Anthony
Telerik team
 answered on 27 Oct 2011
2 answers
94 views

I have a web page with two almost identical grids on the page.  The grids are made up of tables that look something like
Grid 1
<Table> x-grid-row
<TBody>
<TR>
<td> x-grid3-Risk
<td>x-grid3-Name

Grid2
<Table> x-grid-row
<Tbody>
<tr>
<td>x-grid3-Reward
<td>x-grid3-Name


I've had succes getting to the information in the name column by using the following commands

 

Dim

 

 

my_Frame As ArtOfTest.WebAii.Core.Browser = ActiveBrowser.Frames.BySrc("~Lending/Admin/RiskModel.mvc/index")

 

 

 

Dim

 

 

myRows as Element = my_Frame.Find.AllByAttributes("class=~x-grid3-Reward")

 

Dim myElement = myRows(i).getNextSibiling

What I haven't been able to get to work out is how to use code to use "Click" with one of the x-grid3-name cells.  Is there a way to convert the Element to an HTML control?  Every method I have tried just causes a compile error - so any suggestions would be appreciated.

Thanks



S
Top achievements
Rank 1
 answered on 27 Oct 2011
4 answers
112 views
Greetings,

I am trying to create a test where certain steps of that test will only run if the browser is a certain browser.  I created a coded step to assert whether or not the browser is Fire Fox, and I was wondering if there is a way that I can use that within the built in if...then logical step included in Test Studio.  If not, is there another way that I can achieve this action?

Thank you for any advice you can offer.

Tyler
Anthony
Telerik team
 answered on 26 Oct 2011
1 answer
63 views
I need use methods from another test case which I use call like test as step. is this possible?

thanks
Anthony
Telerik team
 answered on 26 Oct 2011
3 answers
150 views
Hi All,

I'm currently doing interface/verification testing and would greatly appreciate how to set "Toggle Continue On Failure" as default, is there a simple way to do this?

Thanks
Dan
Dan
Top achievements
Rank 1
 answered on 26 Oct 2011
1 answer
156 views
Hi all!
I was using trial version of telerik test studio TestStudio_2001_1_712, then I upgraded to a newer version TestStudio_2001_2_928. after upgrading, I opened my test project (and of course the project was converted to the newer version). The problem is: All the test (recorded step or coded step) are unable to run. File log is following
.............................

ExecuteCommand failed!InError set by the client. Client Error:System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at mshtml.HTMLLocationClass.get_href() 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_3ecdd8b9-8844-4643-809f-bf8316271f38',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at mshtml.HTMLLocationClass.get_href() 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.

...................................

Anyone can help me!
Thanks a lot

Anthony
Telerik team
 answered on 26 Oct 2011
4 answers
224 views
Hi Telerik Team,

1. I have two steps that handles the two dialog pop ups, the second step that handles the dialog pop up always fails. I've already included execution delay. Is that an issue? or is there a way that i can create a handler code that always run upon execution and will trigger when it detects a dialog pop-up? Like a application config.

Here's the error:

Timed out waiting '5000' msec. for any dialog to be handled '1'InnerException:System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1' at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount) at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


2. My recording doesn't recognize the object inside the iframe? I've already removed the BaseUrl of the IFrame and when I execute the test it fails. How can i remove the Frame Src?

UPDATE: I've already set UseQuery Property to False and Query Property to blank of the Frame Element.

Here is the error:

Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' ctl00_m_g_32993630_d000_446f_aae0_0651008dc19b_ctl00_ctl02_ctl00_toolBarTbl_RightRptControls_ctl00_ctl00_diidIOSaveItem] AND [tagname 'Exact' input]Inside Frame:[Frame:name=Frame_0,src=http://gtpdoc/sites/20114/MT1G!/1/MTG6,UseQuery:True]Unable to locate element. Search failed!


Note: The Frame Scr is dynamic since it is based on a record id.

Thanks
Anthony
Telerik team
 answered on 26 Oct 2011
1 answer
88 views
Hi,

How can i resolve this error inside frame? Because it still points to the Frame src of the recorded record url.

Inside Frame:[Frame:name=Frame_0,src=http://<RECORD URL>,UseQuery:True]

I've already set the BaseURL and Query to empty and UseQuery to False (See attached file)

Thanks

Anthony
Telerik team
 answered on 25 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?