Hi friends,
pls see the scenarios below
Task 1: You are given with the following:
a) Value = “.Tes.tin.g.”
The expected result is “Tes.tin.g.”. Kindly note only the initial period (“.”) should be removed from the value.
Do not use following functions to resolve this task.
1. Mid
2. Left
3. Right
4. Instr
5. Split
Task 2: You need to capture the ticket number alone from a generated message.
You are given with the following:
a) Message: “Record Successfully saved. The Ticket number generated is: ANDacc8835N”
b) The Ticket number is a combination of 11 characters.
Character 1: A
Character 2: N
Character 3: D
Character 4: a-z
Character 5: a-z
Character 6: a-z
Character 7: 0-9
Character 8: 0-9
Character 9: 0-9
Character 10: 0-9
Character 11: N
Do not use following functions to resolve this task.
1. Mid
2. Left
3. Right
4. Instr
5. Split
Task 3: Generate a Message Box with a message: “Automation
Task 4: An Output.xml file is attached with this mail. Display the value in the first node.
Ie. INC000001367777 in a message box. If the value is change in the first node the message box value should also get changed.
Task 5: Create a test with two actions.
Action1 and Action 2 should not be reusable.
Call Action2 from Action 1.
Note Action 1 and Action 2 should not be reusable.
Task 6:
Step 1. Create an access database and an excel database.
Step 2. Establish a connection with access database (Preferred ADO connection)
Step 3. Use the Excel as datatable using QTP.
Step 4. Load the values of access database and Datatable into Data Dictionary.
Step 5. Retrieve the data using Data Dictionary.
Step 6. Display it in a message box.
Regards
Kuberan