Hi,
I have added Toolbar element to elements explorer, and i would like to add step to click on specific subitem on this toolbar.
Am i able to add such step from the step builder using Actions -> Quick steps (or something else)?
If not, what are the workaround solutions?
Currently i see that after chanching element type to RadToolBar, only item count verification ability is added to Step Builder -> Verifications.
No other actions specific to Toolbar element are available in the steps.
Thanks in advance.
Hi,
I am new to the telerik test studio.I have to develop a automated test script for a web application.But, here I am facing a problem regarding browsing a .txt file from local mechine and upload it to the web application.In the application , a browse button is present.We need to click on this button > select the particular file and upload it.Can you please help that what code should I need to use for this purpose?One thing , I need to mention here, that, I am using vb.net.
Hello,
I'm a developer on a web-based application that has the following requirements for a load test:
1) Log in as one of 100 preset users
2) Navigate to a dynamic URL based on values in a table in a database
2) Process at that URL
Among other things. However, I'm struggling with retrieving the data from the database and also creating that URL. The URL is of the format /Site/Controller/Function/ID, the same as almost any MVC application, but I see no place where I can choose a datasource for the original URL (e.g., http://mysite.com/site/case/edit/190723). Further uses find the dynamic target correctly, but I need to change that original ID in the first request after login. The ID is normally selected via a Telerik grid, but I also can't figure out how to get the link from the grid either.
I'm also struggling with the lack of multiple data sources. At this point, I feel as though I have to merge my two data sets (users and data values) and query from that. However, I have concerns about multiple VU's overwriting each other, which isn't a true test, and leads me to my next question:
Assuming that I use a database-driven test, when is that query executed? Every time a new VR is created? When the test first runs and never again? Every time a variable is retrieved?
Thank you for your assistance with this.
Hi guys, I dont quite understand the problem below.
I has a hyperlink element in HTML like this (telerik calls HTMLAnchor).
<a href="#" id="btnSubmit" >Submit</a>
Now, what I all need that I want to find the <a> element by using HTMLAnchor, then click on it.
Here is my vb code in my Telerik script
~~~~~
Dim btnSubmit As ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor
Dim alertDialog__1 As AlertDialog = AlertDialog.CreateAlertDialog(ActiveBrowser, DialogButton.OK)
alertDialog__1.HandlerDelegate = New DialogHandlerDelegate(AddressOf MyCustomAlertHandler)
Manager.DialogMonitor.AddDialog(alertDialog__1)
ActiveBrowser.Window.SetFocus
ActiveBrowser.RefreshDomTree
btnSubmit=Manager.ActiveBrowser.Find.ById("btnSubmit")
Assert.IsNotNull(btnSubmit,"Cannot find the Submit button")
btnSubmit.Click
alertDialog__1.WaitUntilHandled(50000)
~~~~~
BUT, the problem is that btnSubmit is NULL. Look like it can not find the element
Log file:
Value of type 'ArtOfTest.WebAii.ObjectModel.Element' cannot be converted to 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor'.
Any suggestion for me, guys.
Thanks
Hi all,
I am trying to execute using "settings" option in ArtofTest.Runner commandline.
I followed the steps as mentioned in http://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/intermediate-topics-wtc/settings-and-configuration-wtc/app-config-file
I created a xml file, renamed it as test.dll.config and executed through commandline.I am getting one error
"Load project: The settings file is missing in the 'C:\SmokeTest\bin' Please set the root path.
1) Am i doing something wrong here?
2) Do i need to add Manager mgr = new Manager(true); somewhere in code? If so where should i call? The first part which gets initialized?
3) Do i need to use settings.aiis also along with this xml?
Kindly let me know.
Thanks,
VVP
Hi,
We are planning to execute scripts via commandline (ArtOfTest.Runner.exe). Hence we needed to know generation of log files .
I saw there is an option for exporting results /excel /html/trx in UI. Anything similar in commandline.?
I saw this http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file
I have 2 questions regarding article on above link.
1) Do we have to include the function in each and every test script file.? Or is it ok to put as common function and call?
2) How can i pass Test Result from a script to a common function.
Thanks,
VVP