Re: Procedure for recording dynamic values
The way I'm doing that task:
I separate those 2 processes: getting values from DB and inserting values into actual TestCase.
1. All DB activities I'm doing in VBscript(s), organizing them by logical parts.
2 In the same script, I write the retrieved values into INI file
3 Then, I'm reading that INI file(s) in TC using Environment variables.
This way allows me to keep my TC scripts more readable and clear, organize the logic and improve performance of my Test cycle, because, actually, I'm connecting with DB just once and do all DB job as batch. It also, very easy to maintain the scripts, if I need to change something: structured designed scripts allow me to find whatever I need in one place, without opening and checking every TC.
Procedure for recording dynamic values
Hi to all
I am using qtp for automation. I am testing finance project, while doing automation for entering some field values in GUI, i have to run the sql query in uinx and based on that quarry results i have to capture some values from that results and i have to give that values as in input of my GUI application( i have to get values for my input as dynamically from running the sql querries in unix)and i am testing GUI and doing automation in windows2000.I have to do lot of procedures in similar way. so please let me know the complete process how best i can do this.
Thanx in advance for spending ur valuable time.
I really appreciate ur help.