Do you think it professional QTP code ? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Do you think it professional QTP code ? (/Thread-Do-you-think-it-professional-QTP-code) |
Do you think it professional QTP code ? - learnqtp - 06-21-2012 Hello i am new to QTP and learning code. I try to implement some programming and try to test and it working fine but i don't know how much professional code it is and can i use during job ? QTP VERSION 10. APPLICATION : Sample Application Flight which comes with QTP10. Test Step: Don't enter value and hit OK Enter a hit OK Enter Invalid Password and username and Hit OK Enter correct password and username and validate next page. First I need all the recording of contention and get all the pop message and validation message and create variable and get all the validation message in GETROPROPERTY and now using If then endIF condition and try to check validation message with Variable and execute step according to Validation message. ============code === Code: SystemUtil.Run"C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe" IF IT IS NOT PROFESSIONAL CODE THEN HOW YOU WILL WRITE PROFESSIONAL CODE AND TRY TO UNDERSTAND INDUSTRIAL STANDARD. THANK YOU VERY MUCH TO ALL OF YOU... |