Telerik Forums
Test Studio Forum
3 answers
127 views
I want to use Extract element to record a order bar code number on a website.

The difficulty I ran into is that:
- There is no Attribute ID, class, or src distinction for this barcode (there are more than 1 bar codes on this website)

Can i by any chance use the table cell reference to acquire the number of that barcode?
If I can locate the certain cell, how can I get the link of the image, and extract only the digits out of it?



Thank you,
Nhan Ai
Boyan Boev
Telerik team
 answered on 30 Jan 2014
2 answers
98 views
Hi,

I am unable to handle the pop up dialog message when click to open/save a document. I tried changing the IE9 browser settings to open pop up in a new window. How can I handle this to continue the test execution? I will need to perform the below actions
1. Open document in IE
2. Save Documnet

I am using C# for coding. Can you please help me with this.

Please see attachment

Thanks,
Regards
Niranjalee.
Velin Koychev
Telerik team
 answered on 30 Jan 2014
17 answers
309 views
Dear all,

If I want to change something in my test I normaly use the feature "Run to here".
The problem is, that if I arrive at the "end"-point, Test Studio launches the recorder,
but it doesn't work/record. If I click in a ComboBox it doesn't record the step.(nothing happened)
When I want to verify a text it shows me the error attached.

If I record without the feature "Run to here" i can verify ervery text and it works just normal.
I've installed the latest internal Build 827. What can I do?

Edit: I added the Log-File

Thanks for your help.

Elias
Bruno
Top achievements
Rank 1
 answered on 30 Jan 2014
4 answers
209 views
Hello,
I am hoping to help a coworker resolve an error they have begun to receive when launching Test Studio.  It occurs just after launching the application the splash page is still up and it says "Save Project On Error".  An unexpected Error occured in Test Studio.  The error has been reported to the Telerik team.  Do you want to save your work?

This issue is affecting only a single account when launching the application when logged in under another account it works fine.  Any help is appreciated.

Thanks
Ivaylo
Telerik team
 answered on 30 Jan 2014
10 answers
111 views
Dear Telerik,

We use a runtime-keymapper between our application and the front end. Until now ID's are generated in this format: Entityname.Attributename (like car.door). Unfortunately, we are using a new styling method, which relies on jQuery, which does not like the dot in the ID's.

Are there easy ways to rename all ID's within my script or project, to replace the dot with a different character? In other words, were is the information stored about all the element ID's?

Thanks in advance.
Boyan Boev
Telerik team
 answered on 30 Jan 2014
3 answers
119 views
Hi,

In one of the test step selects value From Drop down List. Now I have done a coded step to select value, which uses method 'selectitembytext'. But whenever I run my test, It shows me this error. "Account.tstest.cs: Line 201: (CS1061) 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText' does not contain a definition for 'SelectItemByText' and no extension method 'SelectItemByText' accepting a first argument of type 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText' could be found (are you missing a using directive or an assembly reference?)"

Can you help me to resolve this issue?

Thank you
Cody
Telerik team
 answered on 29 Jan 2014
1 answer
124 views
Hi,

In one of the test step selects value From Drop down List. Now I have done a coded step to select value, which uses method 'selectitembytext'. But whenever I run my test, It shows me this error. "Account.tstest.cs: Line 201: (CS1061) 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText' does not contain a definition for 'SelectItemByText' and no extension method 'SelectItemByText' accepting a first argument of type 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlInputText' could be found (are you missing a using directive or an assembly reference?)"

Can you help me to resolve this issue?

Thank you
Boyan Boev
Telerik team
 answered on 29 Jan 2014
2 answers
55 views
Hi,

I am using telerik test studio for automated tests and have bindings from excel document; but there is a problem; When I changed the excel file from the path:  C:\Users\Username\Documents\Test Studio Projects\Data data in excel (contains URLs) doesn't changed while executing the automations.

I checked excel file , for trying deleted the excel but again takes the previous data! URL never changes.

Thanks,

Deniz
Boyan Boev
Telerik team
 answered on 29 Jan 2014
1 answer
153 views
Hello,

I am using Chrome and have a form where I enter an ID into a text box and press enter to query the data.
It records as

 Keyboard (KeyPress) - Enter (1 times) on 'PIDText'

However on playback it errors and closes the browser. I did not see an actual error in the dos window, only in the test tool where the script failed. I also tried to tried to add a project reference to System.Windows.Forms, but that didn't help either.

Anyone have a solution or work around?

Thank you,
Weston

Ivaylo
Telerik team
 answered on 29 Jan 2014
3 answers
80 views
Trouble shooting for several days, with reflector I found the real cause.

The problem is under Environment:
Windows Server 2008 R2 x64, IE 9, IE10 and IE12, and every version of Testing framework from 2012.2 to lastest.
IE would not launch, always prompting could not find file. I tried ways from every posts which is similar but get no way.

Then I had to use reflector and found the following code never works in my environment:

ProcessStartInfo startInfo = new ProcessStartInfo {
            Arguments = ((MajorVersion >= 8) ? "-nomerge " : string.Empty) + "about:blank",
            Verb = "open",
            WindowStyle = windowStyle,
            ErrorDialog = false,
            FileName = "iexplore.exe"
        };
        Process process = Process.Start(startInfo);

which resides in LaunchNewBrowserInstance(int timeout, ProcessWindowStyle windowStyle, string pipename), the above code always throwing exception.
System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件(System could not find specified file)。
   在 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startI
nfo)
   在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

The correct way is using :

Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"Internet Explorer\iexplore.exe"));
and
Process.Start(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), @"Internet Explorer\iexplore.exe"));

for replacement.

Could you guys fix this for this environment, thanks a lot. It confused me for quite a long time.

Thanks!
Velin Koychev
Telerik team
 answered on 28 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?