Question:
can we do dynamic data verification using rational robot?
what i want to do is use a single data verification point and change its baseline value corresponding to each datapool iteration. we have done somethins similar using rational functional tester but can we do it using rational robot tester? i dont want to create baselines manually corresponding to each iteration. if we have to do coding for the same then can anyone provide me with similar kinda coding?
Answer:
Dynamic data verification can be done by using Rational Functional Tester. It has the facility called patteren that helps the testers to change the normal expression into regular one Source: CoolInterview.com
hi first u record a script by giving values to the field i think the same can b done with robot using datapool n sqascripting. first u record a script by giving values to the field.
i ll give u the code try it
'$include "sqautil.sbh" define your data pool n giv the run time value u want to provide using rational test manager save the datapool with the name say d_pool simply write the following code copy this at starting dim dp as variant dim i as integer dim column1,column2 as variant
these columns are used to store the data retrieved frm the datapool now for opening the datapool using the script
dp=sqadatapoolopen("d_pool") for i=0 to 2 call sqadatapoolfetch(dp) call sqadatapoolvalue(dp,"field_in_datapool1",column1)
sqadatapoolvalue(dp,"field_in_datapool2",column2)
call sqadatapoolclose(dp)
Source: CoolInterview.com
Answered by: priyadarshini | Date: 8/2/2010
| Contact priyadarshini
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|