Originally I created a test keying in the information while recording on a webpage. For a step the Properties / Behavior Text value had the value that would go into the webpage. Later I changed the test to be datadriven and I added the excel spreadsheet and worksheet as a source, then I bound the data, then I went to Properties for each step and added Data Driven and entered $(type) or $(1) to pick up the value of the first column and such.
However the old value in Text kept coming thru. so I deleted the value in text and nothing comes thru. Any ideas. Also when you refer to the first column in excel is it OK to set $(1) in the Data Driven Editor?
Thanks
However the old value in Text kept coming thru. so I deleted the value in text and nothing comes thru. Any ideas. Also when you refer to the first column in excel is it OK to set $(1) in the Data Driven Editor?
Thanks
4 Answers, 1 is accepted
0
Hi Raymond,
Thanks for the post and you trial of WebUI Test Studio. In the Data Driven Editor Window, you should be able to hit the 'Clear' button to undo the data binding to the test step.
I retried the scenario, and I think that binding the test step before adding the data source and binding the test to the source may not work in that order.
Please use the Clear button for the test step, then try rebinding it. I believe the column name will be the first entry in the column for excel spread sheets. Also, you should be able to use column index, but it is 0 index based, so accessing the first column will be $(0).
Sincerely,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thanks for the post and you trial of WebUI Test Studio. In the Data Driven Editor Window, you should be able to hit the 'Clear' button to undo the data binding to the test step.
I retried the scenario, and I think that binding the test step before adding the data source and binding the test to the source may not work in that order.
Please use the Clear button for the test step, then try rebinding it. I believe the column name will be the first entry in the column for excel spread sheets. Also, you should be able to use column index, but it is 0 index based, so accessing the first column will be $(0).
Sincerely,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Hello again Raymond,
Just wanted to check back to see if you were able to get your test data driven. Please let us know if you have any further questions on this.
Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Just wanted to check back to see if you were able to get your test data driven. Please let us know if you have any further questions on this.
Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

R Stewart
Top achievements
Rank 1
answered on 07 Jun 2010, 11:50 PM
Nelson - I tried clearing & setting the column to use either the column name or the column index (starting from zero) without sucesss even after taking the data source out of the project, rebinding the data .... For some reason I was not able to back track so the solution was to re-record and it works fine now.
I'll be needing to take advantage of customizing the code to some of the 'wait' steps so if you guys have time go ahead and add a 15 miniute TV or video on the same.
My thanks for your support.
-ray
I'll be needing to take advantage of customizing the code to some of the 'wait' steps so if you guys have time go ahead and add a 15 miniute TV or video on the same.
My thanks for your support.
-ray
0
Hi again Raymond,
I'm glad to hear you got this working but had to re-record to get it working. Please let us know if you have any further problems with this feature.
There is a video on code customization, and though it refers to a previous version of WebUI, it should still be of some help. The main differences in QA edition are adding dlls and opening the Class View. Customizing Test Steps are the same with right clicking on it, you just have to choose which language to program in VB or C#.
Please see the attached screenshots for reference. You can also change Wait For test steps properties in the Properties Window and add Delay Steps from the '+ More...' drop down menu.
All the best,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I'm glad to hear you got this working but had to re-record to get it working. Please let us know if you have any further problems with this feature.
There is a video on code customization, and though it refers to a previous version of WebUI, it should still be of some help. The main differences in QA edition are adding dlls and opening the Class View. Customizing Test Steps are the same with right clicking on it, you just have to choose which language to program in VB or C#.
Please see the attached screenshots for reference. You can also change Wait For test steps properties in the Properties Window and add Delay Steps from the '+ More...' drop down menu.
All the best,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.