Telerik Forums
Test Studio Forum
1 answer
150 views

Hi,

Is there any way to verify radio button is checked?

Nikolay Petrov
Telerik team
 answered on 26 Sep 2017
3 answers
140 views
Hello,

I have a Telerik Test Studio on machine A and Telerik Runtime  on machine B.
I have configured several scheduled TestLists to run in the Runtime.

Now I have to put then on pause or disable it for some reason. Is there any way to put them on pause or disabled them.
I don't want to Stop or Cancel them. I just need to put them on hold.
I don't want to Cancel them as The I will have to configure it again an this will imply investing time.

Best Regards,


Elena
Telerik team
 answered on 19 Sep 2017
1 answer
164 views

Hello,

   In my angular2 application, copying text from text box and pasting data in search text box through recorded step but it is not working. can you please help me.

here am attaching screen shot in that 22 and 26 steps are the recorded copy, paste steps.

 

Thanks,

Pranavi

Nikolay Petrov
Telerik team
 answered on 19 Sep 2017
3 answers
88 views

Hi,

Whenever I try to either calibrate on run tests on Chrome I get an unexpected error.

Here is the relevant log:

[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from process 3132: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Desktop.exe" False "C:\Users\dalmaso\git\automacao-ui-clicq" /trial
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from foreground thread "Application start thread" (managed ID = 1, native ID = 21140).
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] TestExplorerController.ExecuteCommand() : EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
     Message: All running browser instances must to be closed.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
          em ArtOfTest.WebAii.Core.BrowserConfiguration.EndRunningProcesses(String processName)
          em ArtOfTest.WebAii.Design.UI.RecordersController.PromptToCloseRunningBrowserInstances(String processName)
          em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteScenario(ExecutionType exeType, Boolean debuggerEnabled, IntPtr existingBrowserHandle, IList`1 selectedExecutionSteps, Boolean showBrowserSelection)
          em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteCommand(ICommand command, Object parameters)
 
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:41,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] BrowsersViewModel.CalibrateBrowser() : EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
     Message: All running browser instances must to be closed.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
          em ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeConfiguration.ConfigureBrowser(String& error)
          em ArtOfTest.WebAii.Core.BrowserConfigurationUtils.ConfigureBrowser(BrowserType browser, String& error)
          em ArtOfTest.WebAii.Design.UI.BrowsersViewModel.CalibrateBrowser(BrowserType browser)

 

We are currently trialing the product and it works fine for other colleagues and on EC2 Windows Server, but not for me. I have reinstalled both Chrome and Test Studio, not sure how to proceed next.

Regards,

Gustavo

Elena
Telerik team
 answered on 14 Sep 2017
1 answer
139 views
Test Studio Team/ Experts/ Advanced Users:

Greetings! I work as a Software Tester and new to "Test Studio". I need some help with automating a "Email Address" field which requires a new data input each time I execute the Test Studio Script. For example:

1) The Business Rule for the application I am currently working is: When creating new users, each user should have a unique "Email Address".

2) So I am recording the steps in "Test Studio" for creating a new user using the email address: Tester1@test.com

3) However when I execute/ replay the same script it fails because an user with <Tester1@test.com> email already exists.

Now here are my questions:

* Question 1:  Is there any way to increment the value in "Email Address" field? So that each time I run the script it automatically increment the email address as: <Tester1@test.com>, <Tester2@test.com>, <Tester3@test.com>. Please advise.

* Question 2: Is there any way to add a new value to a specific "Text Field" each time I execute my script?

* Question 3: If there is a solution for the problem mentioned above could you please send me the details steps as I am totally new to this "Test Studio" tool?

Thanks so much for your help.
Elena
Telerik team
 answered on 14 Sep 2017
10 answers
146 views

Hi.  I am experiencing trouble with connecting to a frame element.  Attached is a log with a comparison to the definition of the frame element.  As you will see, the frame has a unique id so I would think that would be used to find the frame element.  I did not have the UseQuery option checked, yet the log indicates that it is.  

When I run this script "live", stopping execution just before connecting to the frame, and re-record, the first step inside the frame is recorded against the correct element inside the frame element.  But if I just execute the script, it fails when attempting the first step inside the frame, as denoted in the log above.

Any help you can provide would be much appreciated!  Thanks.

Briar

Briar
Top achievements
Rank 1
 answered on 14 Sep 2017
3 answers
120 views

Hi Team,

I need to verify whether the hand effect is displayed when hovering over the mouse on a HtmlListItem. I tried below code piece but it's not capturing the hand effect of the mouse.

System.Windows.Forms.Cursor.Current == System.Windows.Forms.Cursors.Hand

Regards,
Harsha

Elena
Telerik team
 answered on 13 Sep 2017
17 answers
1.1K+ views
Hello - I am unable to get a registration key for the license key (trial version ) of WebUI Studio. Please see the attached gif file for the registration key that was generated? Please help.

Elena
Telerik team
 answered on 13 Sep 2017
5 answers
84 views
Hello, I just have a quick suggestion...instead of closing Test Studio after receiving the "invalid license" error message, would it be possible to direct the user to the license activation screen?  We have a need to shuffle licenses around at this time between machines and this usability request would be greatly appreciated.

Of course I understand it would be easier to purchase more licenses and/or reduce our machine count, but we have temporary solutions in place due to budget constraints.

Thanks!
Elena
Telerik team
 answered on 12 Sep 2017
7 answers
217 views

Using Test Studio Ultimate, I am testing an application that sends a variety of emails that require user interaction with the Email contents (clicking links, for example). Unfortunately Gmail is an absolute mess in the DOM, and trying to find anything by ID/Class is virtually useless. At this point, the best solution I have come to is using XPath to locate elements.

When running through a bunch of iterations of my test (user setup, email notification + interaction, back to web app) the Gmail part will fail about 1/10 times on the XPath lookup. The main issue seems to be with how Test Studio reads and converts the HTML to XML, then parses it to try and find the specified XPath query. In the test failure log, I don't get a full log dump. It seems to be several hundred lines of logs from existing tests, then it dumps a HUGE (~2000-8000 lines) XML content from the Gmail page into the log, and then it fails out each level of testing.

The 2 primary functions I'm trying to handle are:

- Get email contents based on the subject

- Click the link generated, which is stored in an email message

First off, is there a way to work around the error in Test Studio? Most of the time it works properly, so I'm not sure how to troubleshoot the intermittent failure.

Secondly, is there a better way than XPath to try and locate page elements in Gmail? (Eventually the dev team will implement other ways of handling the email contents, but that will be months down the road.)

I don't have logs at the moment; I will save them the next time I see a failure.

Elena
Telerik team
 answered on 12 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?