| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How do u retrieve data from a text file into different
variables. i.e.
in a text file named "source" , the data is like :
india,1000,japan,200,china,50,singapore,45050
this is given in the first line of the text file.
in the second line of the text file the dta is:
sun,moon,planet,river,earth,water
if u use "readline" method by using FSO concept u can
retrieve the entire line in to a variable. but i want to
import each field (ex: "india" in one variable, "1000" in
another variable etc..). Apprecitae proper replies. | Semantic-Space | 4 |
| wt is frame work wt r d different types of frame works used
in ur company | Infotech | 1 |
| How can we make a shared object repository in QTP 9? | Ordain-Solutions | 3 |
| Maximum synchronizing time out in QTP | Kanbay | 2 |
| Explain about merging of two repositories? | | 3 |
| your doing one project testing then how u know itis wheather
web based application or windows based application? | | 2 |
| 1. How can we use same object repository and Testscript
which is in English flavor to check the application in
different languages thru QTP?(Chinese,Dutch,French)
- I generated script in english and want to use the same
script with different languages?
- for windows i used regular expressions
- I need for edit box,button and combobox,
(English,French,Dutch,Chinese) These are the properties of
a button in different languages
Properties English Dutuch Chinese French
x 400 758 631 601
y 673 603 592 676
windowstyle 1342242816 1342242816 1342242816 1.34E+09
windowid 2 2 2 2
windowextended style 4 4 4 4
width 120 120 120 120
visible TRUE TRUE TRUE TRUE
righttoleft reading FALSE FALSE FALSE FALSE
righttoleftlayout FALSE FALSE FALSE FALSE
rightaligned FALSE FALSE FALSE FALSE
regexpwndtitle cancel Loschen Chinese language Annuler
regexpwndclass button button button button
objectclass button button button button
hwnd 132872 657228 656932 656782
height 33 33 33 33
focused FALSE FALSE FALSE FALSE
enabled TRUE TRUE TRUE TRUE
attached text
abs_y 669 599 627 597
abs_x 396 754 588 672
text cancel Loschen Chinese language Annuler
nativeclass button Button
ordinal Identifier
type,Value none none none none
smartidentification FALSE FALSE FALSE FALSE
comment
| TCS | 1 |
| Hi Everybody,
Can anybody please tell me the how to display the result of
the QTP in the notepad text file rather than in the QTP
result window.
Suppose this is my simple script:WHich will open the
notepad file and enter some text and then will change the
font then will calculate how much time has been taken.Now,
in this script i want to display the result in notepad file.
Dim s
Dim starttimer,endtimer,timeit
s="uyetuywqtywqte"
SystemUtil.Run "notepad","","Y:\",""
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" +
micCtrlUp
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Set "test1"
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Type micReturn
Window("Notepad_3").Type s
Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s"
+ micCtrlUp
starttimer=timer
Window("Notepad_3").WinMenu("Menu").Select "Format;Font..."
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Type "cou" + micDwn
Window("Notepad_3").Dialog("Font").WinComboBox
("Font:").Select "Courier"
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Set "Courier"
Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type
micReturn
endtimer=timer
timeit=endtimer-starttimer
print(timeit)
Please also tell me where the function for the text file
result will be declared and where it should be called.
Thanks,
Gaytri
| | 2 |
| what is the difference between Automation object model(AOM)
and test object model(TOM) | UHG | 2 |
| 4. what is the use of Text output value in Qtp?
| Wipro | 1 |
| In QTP, Which are the concepts are needed to do
Functional testing and Regression testing? | | 2 |
| In the QTP the snap shots obtained during the recording
time will appear in the active screen, if we have to use
the snapshots from where we have to access. in which memory
location of QTP they will be stored? | | 1 |
|
How to retrive XML file data in QTP ? using Script(Chandana) | Wipro | 4 |
| DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN | IGT | 3 |
| Can any one tell me Difference between Keyword Driven Frame
work and Hybrid framework? Its Urgent. | IBM | 1 |
| How to supress warnings from the "Test results page"? | | 2 |
| what is the Exact Meaning of Environment Variables? | AppLabs | 7 |
| how we connect oracle or sql data server database to qtp | Tanla-Solutions | 2 |
| where did you automate in your project?(please tell me
example senarios) | | 2 |
| What are the various versions of QTP that have been
released so far? Please also mention the year of release
for each version | | 2 |
| |
| For more QTP Interview Questions Click Here |