Micro Focus QTP (UFT) Forums
how to construct a scenario to test "installation" - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: how to construct a scenario to test "installation" (/Thread-how-to-construct-a-scenario-to-test-installation)



how to construct a scenario to test "installation" - kuldeepbh - 08-16-2010

i want to test a installation file which will have some inputs. here is my scenario:

1. i have placed in my local folder e.g "c:\inst". File name is setup.exe.
2. it has to run, and it has five steps/screens.
3. on clicking next, further steps (or setup screens) will appear (like in normal installations)
4. on step 4, i have 3 fields where the values are to be taken from a excel sheet which is kept for e.g. in "c:\data".
5. on step 5, i have a checkbox, i want here an checkpoint to see it the checkbox is always unchecked.
5. and then step 6, (next) to complete the installation.

How to write this piece of code or i have to record the scenario with dummy values and then edit the script...