![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello Anita, You can probably create a variable of type "read from text file" which will store the value when assigned to it and then you can call that variable in other tests but when you call the variable in other tests, it should be of the same type "read from text file". This will act as a global variable. Please take a look at the test file that is attached with this post. You will have to save this test file in "My Documents/Testing Anywhere/Testing Anywhere/My Tests" Thanks & Regards |
| |||
|
Thank You. This is a good idea. But my requirement is little different. I need to input huge amount of data in my application. and i also have data provided by client. So what i am doing is, first column data is used as variable names and the second column as values for those respective variables. So i cannot change or rewrite the data available in the excel format to text format. because data is huge and available to use in excel file. please suggest, how to work in this scenario. -Anita |
| |||
|
Hi, Please find a sample of test data from the attachment. I need to load different data sheets provided in the same format repeatedly. There will be some changes in the cloumn B variables and column C value changes. So even though i am writing different test to load different type of contract(or column B data changes), i wish to use the same variables which i have created earlier, as i have around 300 (column B) variables in each type of contract. Column B variables are nothing but fields to work with for this scenario. Please let me know if you require any other info. -Anita |
| |||
|
Hello Anita, The attachments attached in this post consist two tests according to your requirement. The first test saves the data from an excel file to a text file and the second test retrieves the value from that text file to the "Prompt Assignment" variable. Please find the attachment with this post. Thanks & Regards. |
![]() |
| Thread Tools | |
| Display Modes | |
| |