Run tests from excel Spreadsheet row by row
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010
08:01 PM
05-18-2010
08:01 PM
Run tests from excel Spreadsheet row by row
Hi,
I am trying to write a script (jscript) that will work through a excel spreadsheet row by row. If a column has True in it, I would like it to go off and run a specific test assigned to that column.
Also, there will be data in the spreadsheet that I will need to input into a website, so would like to be able to create a test that will go through the relevant cells in the row and pick out the information I need and populate eg a website form.
Can someone please help me with the script?
Thanks
I am trying to write a script (jscript) that will work through a excel spreadsheet row by row. If a column has True in it, I would like it to go off and run a specific test assigned to that column.
Also, there will be data in the spreadsheet that I will need to input into a website, so would like to be able to create a test that will go through the relevant cells in the row and pick out the information I need and populate eg a website form.
Can someone please help me with the script?
Thanks
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2010
01:50 AM
05-19-2010
01:50 AM
Can someone please help!!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2010
04:25 AM
05-19-2010
04:25 AM
Hi Andy,
We recommend that you work with Excel via COM (the "Excel.Application" object). To get the object you can use the following code:
ExcelObject = Sys.OleObject("Excel.Application")
You can use the following online MSDN article to find out how to work with the Excel.Application object:
http://msdn.microsoft.com/en-us/library/wss56bz7(VS.80).aspx
-----
Alexander
Customer Care Manager
Alexander
Customer Care Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2010
08:02 PM
08-08-2010
08:02 PM
Hi Andy,
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2010
08:03 PM
08-08-2010
08:03 PM
Hi Andy,
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2010
08:04 PM
08-08-2010
08:04 PM
Hi Andy,
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
Did you get the answer you were looking for ? Otherwise I can help. We are reading the data from different tabs of excel and setting that data in different fields in the screen.
The next thing we are planning to do is to execute the tests conditionally based on some condition, which if true would execute the test and if false, skip the test. FYI, I thinik TC also provides this kind of functionality to conditionally execute the test (not very sure).
you can mail me at shailendra.chauhan@headstrong.com
