QTP output parameters in the actions
Hi,plz explain how I can create the output parameters in the actions.Plz explain with the flight reserVATion window application.Then I tried with the input parameter with call action methodlike using from action call properties..But I didn't get correct result..Plz help me to do these parameters.Thx...
QTP : web table objects are not counted in the run time
Hi,i have n number of links in my webtable, these links will be change based on some conditions first condition this webtable links count is correctbut second condition it display wrong count.Condition and display links are correct.But webtable links are not counted correctly, I cant find the resion...
If you want to count links present in the webtable as per my knowledge you need to used childitems concept not child objects.
set obj_lnk=description.create
obj_link("micclass").value="Link"
lnk_cou=browser().page().webtable().childitems(obj_lnk).count
msgbox lnk_cou
We can count the number of links that are present in the web table, using Descriptive programming.Set Lnk = Description.Create()Lnk("micClass").Value = "Link"Set LnkPres = Browser(...
QTP script for runtime changing objects
Hi,how I can write the script for the runtime changing objectsfor example my webtable name is "wtable"its containing n number of links "120 orders" "130 orders" "100 orders".......These orders text will dynamically changing like "120 orders" can be change as "121 orders"in this how can I write code...
I'd get all the link objects for the page, or object that match a certain criteria. In this case, all your order links match ".*orders", then run a loop to click each of themFor example:...
Browser(B).Page(P).Link("120 orders").click (Runtime this text may change)
here use getcelldata(row,column)
a=Browser(B).Page(P).getcelldata(2,3)
datatable.value("link",1)=a
Browser(B).Page(P).link("a")
Hi,i have to put a synchronization points in web page.My script have to wait until my web page refresh.Or my web page status bar should be completes.Plz help for this.Thxpunitha
Do Until Browser("somename").Page("somename").Object.ReadyState<>"complete"
Wait(1)
Loop
Regards
Venkat
you can use waitproperty("propertyn ame", "parameter value" timeout) for this featuer
let me know if u still face any proble
QTP : set the value to the winedit box in run time
Hi,i want set the value to the winedit box in the run time.When I am save my file I want to give the name of each file in run time.Link first time I have save file 1next file 2next file 3next file 4 like this.But in this the numbers have to display in the run time and have the save the file.Like loop...
You need to give save a files using different files names that are continous,say File1, File2 ...Then we have constant File and varying number.So, take fName as variableFor i = 1 to n ...
I am not sure if I entirely understand what you are looking for. You might have to provide more information/detail. You wait to set some value in WinEdit then you talk about some file? You need to be ...
Hi, is it possible to run the 2 tomcat servers simultaneously with different ports.Some times it's working. Some times its not running,anybody can help me to solve this problem.Thxregards'punitha.R
Multiple instances of tomcat server can be run on any machine using the following steps.Copy zip installer from Apache.orgunzip in C:/Tomcatset Environment variable as CATALINA_HOME C:/TomcatJDK_HOME ...
Follow these step;
1. Set JAVA_HOME=C:/JDK
2 SET CATALINA_HOME=C:/TOMCAT
3. CLASSPATH=C:/servlet.jav;.;jsp.jar;
Then go into tomcat folder search servlet.jar copy short cut paste at desktop and double click.
Hi,i am using QTP 9.0 for web testing.I have local and online web pages. Ex. "http//local", "http//online"both are same web pagesnow I want to test these two web siteshow I use the check points for these purposehow I check the web pages images, links, navigation's , page load times and other thingsplz...
How much of OR and DP are you using to do this?There are several ways of checking if objects exist on a page. If you are using the OR then you can simply create Text, Bitmap or Standard checkpoints th...
Hi,i am new for QTP.I have so many links in my page. But I want to count particular links among them.But all links properties are same. So now I have to add the new property for that group of links and count that.I added the new property for that linksbut I got general errori add new property for the...
Output Values: A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session It is similar to GetROProperty Method but t...