Telerik Forums
Test Studio Forum
8 answers
224 views

Hello - I am a new user - just got the trial version today. I am a QA manager, not a developer - so please be gentle :)

I have Test Studio version 2017.2.530.0, and was able to record a very simple test to just navigate to a website and clink a link. When I execute this test with Firefox or Chrome, it works perfectly. When I execute with IE (v 11.0.9600.17843), it fails every time with error as shown below. The IE browser is calibrated, has the browser extension "Launch Telerik Exploratory Testing" loaded and enabled. The IE browser launches to "about:blank" and just sits there until it times out. Never populates with the "Navigate to..." url.

------------------------------------------------------------
'6/8/2017 4:13:05 PM' - Executing test: 'WebTest(1)', path: 'WebTest(1).tstest.'
'6/8/2017 4:13:05 PM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2017.2.530.0'.
'6/8/2017 4:13:05 PM' - Starting execution....
'6/8/2017 4:14:07 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/8/2017 4:14:07 PM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   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)
------------------------------------------------------------
'6/8/2017 4:14:07 PM' - Test completed!


Any assistance would be greatly appreciated. I am tasked with researching and implementing automated testing for our new product, and I'm very impressed with Test Studio.... if I can get it to work :)

Thank you,

Fran


Elena
Telerik team
 answered on 18 Jul 2018
3 answers
76 views

Hi all,

We have a web-based platform which contains workflows. these workflows can be configured in different ways. Our main application is a Helth and safety software configured using those workflows. The application is developed using C#. we are starting to create automation testing using your tool. but before I start, I would love to get some suggestion from you as I am new to this software. please provide me with some information about the area like, how can I get most out of from your tool?, the best approach for our system using your tool?, how can I get better coverage with less scripting which places  can reuse created scripts.. etc

we are to fully automate our H&S system so we can run it every night to confirm that it works as usual with all the builds.

you can log into our system using the link and have a sneak peek inside.   

https://tst-lwa-phase4-tz.assurasoftware.co.nz

User Name:- TestStudio Password:- Password1

Thank you,

Kind Regards,

Purnima

Vera
Telerik team
 answered on 18 Jul 2018
2 answers
47 views

I've wasted like 3 hours on this today and I can't figure it out....

https://www.screencast.com/t/fn11cTUl

This step of the test is to basically wait to see if the angular ajax call pulls in the users, if it does, count to make sure... but it's always 0

Doesn't matter if the Timeout is set to 10s, 20s... it always fails at this step.

Thoughts?  Please help

Steve

Elena
Telerik team
 answered on 17 Jul 2018
3 answers
348 views
Hi Telerik team,

When I want to deal with one srting, just like split it or get the length of it, I use the function like 'Mid', 'Split' and 'Len'. But these cannot work.
Following is the error message that displays in the Log:
(BC30451) 'Mid' is not declared. It may be inaccessible due to its protection level.

So, how to deal with this issue?
Elena
Telerik team
 answered on 17 Jul 2018
3 answers
93 views

I have a search box where I type some text in, hit enter and it redirects me.

The recorder though only records the text not the ENTER... what should I be doing?

Vera
Telerik team
 answered on 17 Jul 2018
1 answer
94 views

Hi,

I´m executing tests on subscribe section on a website. It requires fields such as email and ID. As this test requires to be executed many times, it isn´t possible to create new profiles every test. So, I wanna run a procedure after the subscribe test that excludes the last subscription created. How can I bind the real dev database to the test and create a procedure to delete this last created profile?

 

Thank you,

Gabriel

Elena
Telerik team
 answered on 17 Jul 2018
9 answers
144 views

Hi , 

I am unable to record test cases. I did go through the steps mentioned , but most folders are not same. Can you please help me with steps to record,  create test cases and run the test cases.

 

Below error was displayed when clicked on setting and choosing android sdk location

 

1. Aapt.exe doesn't exist in the specified location: C:\Users\noorain.adeeb\AppData\Local\Android\Sdk\build-tools\\aapt.exe

 

Thanks,

Noorain Adeeb



Shtilianov
Telerik team
 answered on 12 Jul 2018
3 answers
243 views

Hi All,

We have few desktop applications, which has developed using .NET technologies and Java as well. I tried recording script using Test Studio and it was rejected as the application is not WPF app.

Is there any way to automate these non-WPF based applications?

 

Thanks,

Palani

Elena
Telerik team
 answered on 04 Jul 2018
9 answers
346 views

Hi, Please see the code below...

            HtmlTable T2 = ActiveBrowser.Find.ByXPath<HtmlTable>("//*[@id='SystemClientsGrid']/div[2]/table");
            HtmlTableCell C2 = T2.Find.ByContent<HtmlTableCell>("l:ZZ");
            Log.WriteLine(C2.TextContent);
            string str1 = this.GetExtractedValue(C2.TextContent).ToString();

My Code is working fine till second last line as i can verify it in log. Last line not working.

It is throwing below mentioned error:

"The extracted variable 'ZZ' does not exist in the store. Make sure there is an extract step that has executed before executing this step."

 

 

 

Elena
Telerik team
 answered on 29 Jun 2018
7 answers
252 views

Team,

 

I am unable to Click on "OK" on a Confirmation Dialog. This step is very important in my script. Please guide me.

I have seen Documentation regarding this and tried in many ways. But still no go. Attached the Snapshot

 

Here is the code

using ArtOfTest.WebAii.Win32.Dialogs;
<br>Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;<br>ConfirmDialog cd = ConfirmDialog.CreateConfirmDialog(ActiveBrowser, DialogButton.OK);<br>Manager.DialogMonitor.AddDialog(cd);<br>Manager.DialogMonitor.Start();<br>cd.Window.Close();
Elena
Telerik team
 answered on 29 Jun 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?