How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
5 QTP 13131hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
QTP 1487QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "
2 QTP 7726There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me
2 QTP 3763Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
QTP 2032How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words
5 QTP 18049I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
2 QTP 4861I got some information from the QTP help.But i am not sure whether through this process will QTP work or not bellow is the Help what I have Remote setup Settings Remote WSH, which is a new technology included in WSH 5.6, provides the ability to run a script on a remote machine or machines. With Remote WSH, the script is physically copied from the local machine to the remote machine before executing. In order to enable Remote WSH functionality, you must first set up the remote machine with the proper security settings. The steps below perform the tasks that enable Remote WSH. Note Both the remote and local machines must be running Windows NT 4 SP3 or greater in order to use Remote WSH. To enable a machine to run remote scripts 1. Install WSH V5.6 on the machine. If you are using Windows 2001 or have installed Internet Explorer 6 or greater, WSH 5.6 has already been installed. Note WSH 5.6 is available for download from the web at http://msdn.microsoft.com/scripting 2. Add yourself to the remote machine's Local Administrators group. 3. To enable Remote WSH, use Poledit.exe on the server. Note An administrator who wants to enable Remote WSH must either acquire the Windows 2000 resource kit, or use http://msdn.microsoft.com/scripting to acquire the necessary windowsscript.adm file that contains the WSH settings. The windowsscript.adm file must be copied to the server that sets the gapplicabel group's policies. Although it is not necessary to copy the file to the server's \WINNT\INF directory, this is nonetheless where the default adm files are located. Note For more information on Poledit.exe, see the Poledit.exe's online help system. 4. WSH should now be enabled on the machine. To test it,. WSH 5.6 can run scripts that reside on remote systems. The following scripts demonstrate this capability. These scripts make the assumption that the files are located on a local machine directory called "c:\wsh5.6"; change the local path and the remote machine name as necessary. After initially running RemoteTest.WSF on the local machine, there may be a small pause as DCOM verifies your identity. After you see the "Done" message, a file named "c:\beenhere.txt" on the remote machine indicates the time that you executed the command (from the remote computer's clock). Script to run scripts remotely set oController = CreateObject("WSHController") set oProcess= oController.CreateScript("c:\wsh5.6\beenhere.wsf","remmachine") oProcess. Execute Could you tell me will it work fine
QTP 1766I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
QTP 1693How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?
7 QTP 19220How can i find out any "text's" coordinates in excel sheet For example: I want to know the coordinates of "F" Column in the excell sheet While recording when i clicked on F column it is showing the coordinate values 385,9 but with out recording how can i find out them Suppose i want to clik on "H" column writing the script like this Window("Book1").WinObject("Book1").Click (...........) Here I Dont know what (x y )values should i enter Please any one can help me?
1 QTP 4446What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
QTP 1452
There will be two security guards at hell and heaven. hell
guy used to speak lie always and we can ask one and only
one question to move into heaven(twist is we don't know who
is hell or heaven gaurd).how can we move into heaven?
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Question { 7097 }
I?m right now doing manual testing for Java Projects. We
are planning to automate it. So, I need your suggestions in
choosing an appropriate automated testing tool for doing
Functionality testing, UI testing and Performance testing
so that I will be able to implement it for our projects.
Kindly help me in this regard.
Thanks in advance.
with regards,
Kavitha.
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { Ordain Solutions, 6410 }
How to find the number the number of Links, Brolken Links
in a webpage?
Answer
Is This Answer Correct ? | 3 Yes | 0 No |
Question { Ordain Solutions, 21726 }
setroproperty and getroproperty difference
Answer
Is This Answer Correct ? | 4 Yes | 2 No |
Question { 2692 }
for example one window is there, the window contains how
many edit box's i want script? i know the script but that is
not exact answer....
The script is like this ..........
set a=description.creation()
a("Native class")="WinEdit"
b=window("Flight Reservation").childobject(a).count
msgbox b
if u found exact answer please getback to me?
raju.ippali@gmail.com
9823257761
Answer
Is This Answer Correct ? | 3 Yes | 1 No |
Question { 5734 }
How do u override the meaning of a standard object in QTP?
Answer
Is This Answer Correct ? | 3 Yes | 2 No |
Question { 2747 }
suppose by navigation i went from 1st page to 5th page write
a script for coming from any page to the 1st page abd by
executing where the page may be . it will come to 1st page
give the code using gmail. give me mail id so that i can
under this answer with out any doubt
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Question { 8569 }
What is the best scripting language for automation
(function) testing
Answer
Is This Answer Correct ? | 8 Yes | 3 No |
Question { 3875 }
Does we use Classes and methods in realtime..?How wud we
access methods in a class..?Thanq Guys..!
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { Tech Mahindra, 11265 }
Hello! i am having two comboboxes.Each having 10 items in
it.when i select first item in first combobox,it is not
similar in the second combobox.for ex in first combo if it
is Hyderabad,in second it should be some chenai or some
other item .Write a VBSCRIPT for that?
Answer
Is This Answer Correct ? | 7 Yes | 1 No |
Question { 11386 }
What is the use of "Define new test object" in QTP 9.1
When should we use? Explain?
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { 11386 }
What is the use of "Define new test object" in QTP 9.1
When should we use? Explain?
Answer
Is This Answer Correct ? | 0 Yes | 0 No |