Hi,
I can't seem to figure out how can I get TS so select a value from a combobox.
I've tried to record clicking on the combobox button to open it and then clicking on a value, but this does not execute properly.
After searching on the forum and found this thread (http://www.telerik.com/forums/how-to-select-from-drop-down-list) I also tried the following code, but this also doesn't work.
// Enter text 'Audi' in 'Text'
Pages.LusitaniaSimuladorMotore26.Span.Click();
HtmlSelect marca = ActiveBrowser.Find.ById<HtmlSelect>(
"marcas"
);
marca.SelectByValue(
"Audi"
);
With the above code I can see that the combobox opens, but no value is selected.
The HTML of the page is
<
div
id
=
"marcas_id_div"
><
select
id
=
"marcas"
onchange
=
"javascript:ResetTotais(); ResetVersao(); ResetVeiculoInfo(); GetVersoes(false); CarregarVariaveis(0, 0, this.name);"
name
=
"marcas"
style
=
"width: 270px; display: none;"
><
option
value
=
""
> </
option
><
option
value
=
"Abarth"
>Abarth </
option
><
option
value
=
"Alfa Romeo"
>Alfa Romeo </
option
><
option
value
=
"Aston Martin"
>Aston Martin </
option
><
option
value
=
"Audi"
>Audi </
option
><
option
value
=
"Bentley"
>Bentley </
option
><
option
value
=
"Bmw"
>Bmw </
option
><
option
value
=
"Chevrolet"
>Chevrolet </
option
></
select
><
span
class
=
"ui-combobox"
><
input
class
=
"ui-state-default ui-combobox-input ui-autocomplete-input ui-widget ui-widget-content ui-corner-left"
style
=
"padding: 0 5px; height: 22px;"
autocomplete
=
"off"
role
=
"textbox"
aria-autocomplete
=
"list"
aria-haspopup
=
"true"
><
a
class
=
"ui-button ui-widget ui-state-default ui-button-icon-only ui-corner-right ui-combobox-toggle"
tabindex
=
"-1"
title
=
"Mostrar Todos Os Itens"
role
=
"button"
aria-disabled
=
"false"
style
=
""
><
span
class
=
"ui-button-icon-primary ui-icon ui-icon-triangle-1-s"
></
span
><
span
class
=
"ui-button-text"
></
span
></
a
></
span
></
div
>
Please help me.
Thanks,
Luis
Hi,
While executing the test "Reload/Unresponsive" page coming after completing 3rd or 4th iteration. Herewith I have attached the image, Kindly verify it. If any one know the reason "Why this coming?". Kindly inform me...
I have been running into problems with our automated test scripts failing intermittently. I have narrowed it down to when we try to run the tests using remote execution. I have created a simple demo test which runs successfully on the local VM (Machine A which has Test Studio Functional installed) but when I try to run that same test list on the remote execution server (Machine B which has Test Studio Run-time installed), the test "hangs" and eventually fails.
I have attached the test project along with the execution server log for you to look at. There is also a video demonstrating the issue at this link: http://www.screencast.com/t/Ys1YAmvdICl
STEPS TO RECREATE:
1. Open Test Studio and open the "Google_Test" folder
2. Select "Test Lists" -> "All Browsers" Test List -> "Run List"
3. The test executes and passes
4. Select "Run List Remotely" and run the same test list on a remote execution server
5. The test runs much slower and even hangs after awhile, causing the script to fail eventually (see video at this link: http://www.screencast.com/t/Ys1YAmvdICl)
I have telerik test studio edition on one machine(Machine A) , using which I develop all my test cases . Now I have a run time edition on another machine(Machine B) in the same domain.I configured storage server , scheduling server and started execution server on machine B.
Now i try to access my machine B through run test lists remotely option in machine A. But when ever I click on check button next to machine name option in run lists remotely, it throws an error message as "Service not found". Also attached the screenshot for the same.
Please let me know how i can make use of run time edition as I want to use license edition on my nightly build .So want to try on one test machine before.
Please help me out with this as its highly urgent for me.
Another important question : why its written in the system requirements doc of installation of telerik licenses that " User Account Control" should be set to never notify.
Is it required only for the installation or it has to be like forever. Because my company policy doesn't allow it to be like that for ever.
Thanks in advance
I have 2 remote windows machines that I would like to run tests on. I have installed Firefox on one and Chrome on the other. I also uninstalled IE on those machines as the Firefox and Chrome would be the default browser. When I check the status of the machines in the Test Studio Ultimate in the Scheduling section of the ribbon, it shows Firefox and IE (or Chrome and IE) installed. How do I get the Test Studio real-time execution agents to stop reporting that IE is on the machines. This affects running lists remotely as I will get the following error:
4/20/2015 1:46:36 PM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
--- End of inner exception stack trace ---
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
Greetings,
I've disconnected my test studio project from VSO and deleted the VSO project because I want to move it to a different VSO project.
Now when I click the Connect To Source control button, nothing happens, but the log says that the project doesn't exists.
It's trying to connect to the old project that doesn't exist. It won't give me the dialog box to reconfigure the source control.
Thanks
Wade
Hi,
I'm following the Data Driven Find Expressions mentioned by you on the below mentioned link
http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/data-driven-find-expressions
But I got the following error:
(CS1061) 'TestStudio_demo.Pages' does not contain a definition for 'TelerikExtensionsForASP' and no extension method 'TelerikExtensionsForASP' accepting a first argument of type 'TestStudio_demo.Pages' could be found (are you missing a using directive or an assembly reference?)
I have followed the exact steps mentioned in the above link. Please help me with this.
Thanks in Advance.
Hi All, I'm new to Telerik Test Studio so I apologize if this has already been asked.
When recording a web test, we have a requirement to start the browser in private mode first in order to clear the cache and prompt for appropriate credentials to the site:
How can this be triggered via the Test Studio recorder?
Any answers that can be provided would be greatly appreciated.