Telerik Forums
Test Studio Forum
8 answers
194 views
Hello

Is it possible to set up a databind using T-SQL where a filtering value will be from another dataset?

Eg
datasetA = login info
datasetB = product info

So, once logged in for each interation in datasetA, I need to be able to pass an ID value from datasetA to datasetB which is attached to a Test as Step.

I ultimately will need to loop through the tests for multiple logins and in turn for multiple products


Thanks for your help
Cheryl
Anthony
Telerik team
 answered on 04 Apr 2012
1 answer
138 views
Hi team,
i met an issue about cookie today. In my web application, there is a debug page("http://wwwqa.inventory.ford.com/debug/cookies.jsp") to add a cookie with name "dealerPooling" and value "true", if i add this cookie, then a proper page will display.
My version of  telerik test studio is 2011.2.1413.0

scenario 1:
     step1: turn to "http://wwwqa.showroom.ford.com/FDShowroom.jsp?makeTransition=inventory"
     step2: click on FIESTA image
     step3: input a zipcode(48033) to zipcode input textbox and click "SEARCH DEALER INVENTORY" button
     step4: A search dealer inventory page for this scenario1 will display

scenario 2:
     turn to a debug page "http://wwwqa.inventory.ford.com/debug/cookies.jsp" and add a cookie with name "dealerPooling" and value "true"
     repeat steps in scenario2, and we can see a different search dealer inventory page for this scenario2.

What i want to know is how to add cookie with code steps?
I have tried several ways to do that, but failed, only scenario1 page displayed when i execute scenario2 step, here is some code to be invoked before clicking "SEARCH DEALER INVENTORY"

1.
Public Sub SetCookie()
            Dim newCookie As New System.Net.Cookie()
            newCookie.Name = "dealerPooling"
            newCookie.Value = "true"
            newCookie.Domain = "http://wwwqa.inventory.ford.com"
            newCookie.Expires = DateTime.MaxValue
            ActiveBrowser.Cookies.SetCookie(newCookie)

End Sub

2.
Public Sub SetCookieWithDebugPage()
            ActiveBrowser.NavigateTo("http://wwwqa.inventory.ford.com/debug/cookies.jsp")
            
            Dim nameBox, valueBox As HtmlInputText
            Dim submitButton As HtmlInputSubmit
            
            nameBox = Find.ByAttributes(of HtmlInputText)("name=newName")
            valueBox = Find.ByAttributes(of HtmlInputText)("name=newValue")
            nameBox.Text = "dealerPooling"
            valueBox.Text = "true"
            submitButton = Find.ByAttributes(of HtmlInputSubmit)("name=addCookie")
            submitButton.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop)
            submitButton.Click
End Sub
Anthony
Telerik team
 answered on 03 Apr 2012
1 answer
107 views
Hi,

How to show debug log while running the test, as opposed to "view log" after the whole test is done?

thx
Anthony
Telerik team
 answered on 03 Apr 2012
3 answers
145 views
Hello

Is there a way, when using $(value) in the databinding property window for the verification step, to trim the value, eg $(value).trim or $(rtrim(citemtext))

Thanks
Anthony
Telerik team
 answered on 03 Apr 2012
3 answers
147 views
Hi,
In stand alone Test Studio I´m scheduling test runs with the scheduling service.  I have both a scheduling server and two execution servers running and registered.  Execution server 1 and scheduling server are on the same computer, execution server 2 is on another virtual computer logged on to the same domain.
When creating test to run on execution server 1, test runs as expected and show up in results.  When creating test to run on execution server 2, test will not run and disappears in Results when updated after the time the test was scheduled to run.  
The reason the test does not run is related to domain issues but why does it disappear?

cheers
Eyjolfur Bjarnason.
Ivaylo
Telerik team
 answered on 03 Apr 2012
1 answer
67 views
Hi, 

What's the syntax to use data columns from the data sources in coded step? 

Thanks

Anthony
Telerik team
 answered on 02 Apr 2012
1 answer
109 views
Hi,

I'm following the instruction at 

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/add-custom-step/test-as-step/create-test-as-step.aspx 
ie,
  1. Open an existing test and highlight one or more steps.
  2. Right click and select Create Test as Step.

However, I can't find the Create Test as Step  menu. 
IIRC, I was able to do that before. 

What's wrong? 
Thanks
Anthony
Telerik team
 answered on 02 Apr 2012
1 answer
94 views
Hi, 

Anywhere I can download the new beta release for April?

Thanks
Anthony
Telerik team
 answered on 02 Apr 2012
2 answers
82 views
I have Silverlight modal window in my application. If I open it pop-up window is defined by Telerik but my actions in this window can't be defined by recorder.
Nothing is recorded if I act in modal Silverlight window.http://screencast.com/t/NxyoWZJcnv
Ivaylo
Telerik team
 answered on 02 Apr 2012
1 answer
90 views
Hello. I'm a new Test Studio user, now using a trial version,
Can anybody advice me, how i can manually, in code, set current step as failed?

Thank you.
Eugene

Ivaylo
Telerik team
 answered on 30 Mar 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?