- 1 Frequently Asked Coding Questions During Interview on UFT
- 1.1 How to Add digits of a given number?
- 1.2 How to read any Four-digit number and display the number in reverse order?
- 1.3 How to calculate the grade for an examination and display the grade obtained?
- 1.4 How to calculate Even or odd calculation till n(any given number)
- 1.5 Write a program for finding out whether the given year is a leap year or not?
- 1.6 Read two numbers and display the sum?
- 1.7 How to Calculate the odd even number in UFT?
- 1.8 How to Calculate the Simple Interest?
- 1.9 How to display natural numbers up to n and write in a text file?
- 1.10 How to display Natural numbers summation up to n? (Using For…Next Loop)
- 1.11 How to display Natural numbers sum up to n? (using While…Wend Loop)
- 1.12 Display Natural numbers sum up to n? (Using Do…Until…Loop)
- 1.13 Write a Function for Natural Numbers sum up to n
- 1.14 Verify weather the entered 10 digit value is a numeric value or not
- 1.15 How to read a number and verify that number Range weather in between 1 to 100 or 101 to 1000?
- 1.16 How to check if a given letter is present in the given String ?
- 1.17 How to work with MSWORD in UFT?
- 1.18 How to count the number of occurance of a word in a given file?
- 1.19 How to Compare two test files in UFT?
- 1.20 How to implement Mid Function Without Using String Functions?
- 1.21 How to Swap two number or two input strings?
- 1.22 How to find the Dedcimal value of a given hexadecimal and vice varsa?
- 1.23 How to find out if a string is having numeric values or not?
- 1.24 Design a basic calculator that takes two input and and an operation as input and provide us the result.
- 1.25 How to extract numbers from String?
- 1.26 How to Ping Other computer using VBScript?
- 1.27 Find out a number of occurrence of Substring within a string?
- 1.28 how we can measure the time required for each component to execute in QTP?
- 1.29 Write a code in QTP which will close a particular opened window in Desktop. Say I said only opened Notepads needs to be closed.
- 1.30 Write code on calling an action say the first action will take some input and will do some operation. Now the output of Action 1 will pass to Action 2. The output of Action-2 will go to Action-3. After finishing it will come back to Action1 and give the final output.
- 1.31 Sample Scenarios to Automate in QTP -Application: Mercury tours
- 1.32 How to get Test Path in QTP/UFT?
- 1.33 How to Send Email via VBScript?