Forum Discussion

kkrush's avatar
kkrush
Occasional Contributor
3 years ago

How to read excel data into object and pass the values to calling routines (using scripts),

Hello All, 

 

--This is my test

1. go to www.amazon.com

2. place cursor on the "search" text field.

3. Read the excel first value "Phone Stand", and place it in the "Search" text field and click "search icon"

4. Repeat #2 and #3 with the other values fetched from excel.

 

What I am looking is, how to read the below data into an object and pass it to the test using scripts ?  , and I would appreciate if anyone could help here.

I tired the example -  https://support.smartbear.com/testcomplete/docs/reference/program-objects/excelsheet/cell.html, 

but cannot get to pass the data (Phone Stand, Bags, Bike) as a object.

----------------------

Name      

----------------------

phone stand

Bags

Bike

 

 

1 Reply