GeekInterview.com
Submitted Questions

QTP output parameters in the actions

Asked By: Punitha.R | Asked On: Apr 28th, 2008

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...

Answered by: Dipak123 on: Jun 24th, 2008

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...

QTP : web table objects are not counted in the run time

Asked By: Punitha.R | Asked On: Dec 19th, 2007

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...

Answered by: pavani prasad on: May 18th, 2010

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

Answered by: ManjuPillae on: Mar 26th, 2008

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

Asked By: Punitha.R | Asked On: Dec 19th, 2007

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...

Answered by: brainwood on: Jan 1st, 2008

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:...

Answered by: ramugogurla on: Dec 22nd, 2007

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")

Synchronization points

Asked By: Punitha.R | Asked On: Dec 3rd, 2007

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

Answered by: venkat_siqes on: Apr 19th, 2010

Do Until Browser("somename").Page("somename").Object.ReadyState<>"complete"
Wait(1)
Loop


Regards
Venkat

Answered by: raj_arora55 on: Jun 7th, 2008

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

Asked By: Punitha.R | Asked On: Nov 30th, 2007

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...

Answered by: ManjuPillae on: Mar 26th, 2008

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  ...

Answered by: Anshoo_Arora on: Dec 8th, 2007

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 ...

Run the tomcat server

Asked By: Punitha.R | Asked On: Nov 30th, 2007

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

Answered by: DVishwakarma on: Feb 24th, 2010

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 ...

Answered by: uncer on: Jan 17th, 2010

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.

QTP check points

Asked By: Punitha.R | Asked On: Nov 29th, 2007

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...

Answered by: Anshoo_Arora on: Dec 8th, 2007

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...

QTP - conditional links count

Asked By: Punitha.R | Asked On: Oct 31st, 2007

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...

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: