Telerik Forums
Test Studio Forum
3 answers
133 views
Hi Telerik Team,
                      we are facing the issue when pressing from user name text to password,following are the steps to reproduce the scenario
 Create the Web test--->Enter User name -->Press Tab-->Enter password-->and perform some functionality-->after performing the functionality run the test case the Test case get failed we are facing this issue,and waiting for the positive reply on this.


Thanks

Prasad
Stoich
Telerik team
 answered on 09 Nov 2012
5 answers
198 views
I have installed Telerik version 2012.1.719.0 on a Windows 2008 server to use as a Scheduling Service and Execution Server. I have installed sql server express 2008. Scheduling Server and Execution Server have been successfully configured. The application can be loaded and run locally. However, test scheduled to run the machine fails as does Run List Remotely.

I have check the following;

port 8009 is enabled on the firewall
Execution Server is run as Administrator
The Project folder as full permissions (read, write execute).

The error message is "Logon failure: unknown user name or bad password."
The project directory is created (with the unique id appended) is created at execution time but it is empty. There are not entries in the log directory.

I can connect to the scheduling server and retrieve the schedules and reports.

The entries in the Windows Security Log.

Security Audit failure
Account failed to logon
Administrator currently disabled

It seems that the Execution Server is trying logon as a guest user. Why would need guest access for a domain if the applications is being run as an Administrator?

Checked permissions on the folders and full permissions to everyone
Scheduling Service and execution service are running as domain administrator.

Any suggestions?

 
Ivaylo
Telerik team
 answered on 09 Nov 2012
2 answers
127 views

Heya

I need to select a record

It's id changes (The request number is the dynamic field)
But with filters I can make it be the only record returned

I have included several screenshots of elements and dom.
Dean
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
111 views

Hello

I'd like to verify that a word/number exists on  a page, I would like the test to work without relisnvr on a specific location please.

Dean
Byron
Telerik team
 answered on 08 Nov 2012
5 answers
151 views
Hi Telerik Team,

                         I am using the Telerik Test Studio to perform the Load Testing but i want to use it for more than 100 users but it is supporting for not more than 20 users can u tell me how to increase the Load of the user for more than 100 users can you provide us more feedback on this so that i can use it to perform on the Load Testing in Telerik Test Studio.
                        I am waiting for the positive reply on this.

Thanks

Prasad 
Tsveta
Telerik team
 answered on 08 Nov 2012
2 answers
100 views
I've gone through the steps of extracting text and assigning it to a variable as shown here: http://www.screencast.com/users/TelerikTesting/folders/Jing/media/c85d61a1-9724-41d4-abc2-03975b07bf23

Now, I want to use that as part of a URL. Is it possible to concatenate text?

Use Case: I use a content system to publish to a site. I want to confirm the content made it to the front end.

I would like to navigate to a url like: http://www.site.com/?contentId=$(extractedValue)
Somuch
Top achievements
Rank 1
 answered on 07 Nov 2012
3 answers
365 views
The suggested approach to creating global variable is rather cumbersome and also forces every reference to a global variable to require customize in code.

The approach below uses the SetExtractedValue and GetExtractedValue instead

All references to the variables can be through DataDriven bindings.

  1. Create an XML file

<GlobalValues>
    <GlobalValue>
        <TelerikHomeFirstname>"Michael"</TelerikHomeFirstname>
        <TelerikOwnerSurname>"Jackson"</TelerikOwnerSurname>
        <TelerikHomeEmailAddress>"Neverland Ranch"</TelerikHomeEmailAddress>
        <TelerikNickName>"King of POP"</TelerikNickName>
        <TelerikURL>"http://google.com/"</TelerikURL>
        <TelerikDBUsername>"telerik"</TelerikDBUsername>
        <TelerikDBPassword>"TelerikPassword"</TelerikDBPassword>
        <TelerikDBDatabase>"telerikdb"</TelerikDBDatabase>
        <TelerikCheckCountUsername>"tlk"</TelerikCheckCountUsername>
        <TelerikCheckCountPassword>"password"<TelerikCheckCountPassword>
    </GlobalValue>
</GlobalValues>   

Add a new Script Step. In the OnBeforeTestStarted method
add the following code

public override void OnBeforeTestStarted()
{
    string globalVarsFile = @"c:\<path>\myglobalvarsfile.xml";
    
    try
    {                    
        if(!File.Exists(globalVarsFile))
        {
            // an error has occurred
            Log.WriteLine("Error: FILE" + globalVarsFile + "DOES NOT EXIST");                    
            Assert.IsTrue(false);
        }
        else
        {
            Log.WriteLine("File found" +globalVarsFile);
        }
                            
        XDocument globalVarsXML = XDocument.Load(globalVarsFile);

        var queryResult =
            from gl in globalVarsXML.Element("GlobalValues").Element("GlobalValue").Elements()
            select gl;
        
        foreach(XElement x in queryResult)
        {
            SetExtractedValue(x.Name.ToString(), x.Value.ToString());                     
        }   
    }
    catch(FileNotFoundException fnfe)
    {
        Log.WriteLine("IO Error occurred: " + fnfe.Message);
        
    }
    catch(IOException ioex)
    {
        Log.WriteLine("IO Error occurred: " + ioex.Message);
    }
}




Cody
Telerik team
 answered on 07 Nov 2012
3 answers
124 views
Hello,
I am attempting to open one of the sample projects in VS2010 Express but I am getting the following error:

"C:\Program Files (x86)\Telerik\Test Studio\Samples\Testing Framework\QuickStarts_VSTS_VB\QuickStarts_VSTS_VB.vbproj : error  : The project file 'C:\Program Files (x86)\Telerik\Test Studio\Samples\Testing Framework\QuickStarts_VSTS_VB\QuickStarts_VSTS_VB.vbproj' cannot be opened.

The project type is not supported by this installation."

Any ideas? Thanks for your time.
Plamen
Telerik team
 answered on 07 Nov 2012
3 answers
184 views
Hello,

I have created my first test today! In my app I save a draft Requisition. After saving it I'm presented it's new ID in two pays.

In the url: https://sub.domain.org/Requisition/RequisitionView/2813

And also on the page I have this html element:
<span class="requisitionTitleText">Requisition # 2813:<span class="requisitionDetails"> tt 574 6</span></span>

In the both cases I need to do some "trimming" as it has extra text, for example:
string newReq = "Requisition # 2813:"
newReq = newReq.Replace("Requisition # ","");
newReq = newReq.Replace(":","");

So.. I need to have this ID, in either a text file or in memory, because I have 10+ other tests that will rely on this.

I'm assuming that I need to:
  1. save the id to a local datasource
    How do I do this?
  2. in later tests, reference it like in this article
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/local-data-driven-test.aspx


Thanks!
Byron
Telerik team
 answered on 06 Nov 2012
2 answers
109 views
All of a sudden my playback speed has dropped considerably. I have not made any changes to my scripts today but yet when I run them there are now seconds between each step when they used to run back to back without pause. Can anyone give me cause to this?
Ivaylo
Telerik team
 answered on 06 Nov 2012
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?