Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In a web application , there is a table of rows and coloums
, i want to pickup the 1st row and 3rd coloums name (not
data)how can any one explain

Answers were Sorted based on User's Feedback



In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / lakshmareddy bhavanam

By using getcelldata(rows,columns)
ex:- browser().page().webtable().getcelldata(1,3)


the above answer is not correct please send thee correct
answer


my mail id is bhavanamlakshmareddy@gmail.com

Is This Answer Correct ?    4 Yes 4 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / udham

a = browser("creationtime:=0").page("title:=.*").webtable("name:=All").ChildItem (1,3,"Link",0).getroproperty("outertext")

msgbox a

'i hav give link in childitem
if it is webedit then use that one.

Is This Answer Correct ?    1 Yes 1 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / anu

driver.findElemement (By.xpath(html/body/table/tbody/tr[1]/th[3])).getText();

Is This Answer Correct ?    0 Yes 0 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / kishan

In a WebTable, always the first Row will be "Column Names".
so when you use the statement

clmName=Browser("A").Page("B").webTable("C").getcelldata(1,3)

It will only give you ColumnName not the value under that
column.

Is This Answer Correct ?    0 Yes 2 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / guest

Hi,

Using this statement u can get Row value

value=Browser().Page().Frame().WebTable().GetCellData(row,
column)

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)

2 Answers   FIS, Wipro,


How do u override the meaning of a standard object in QTP?

1 Answers  


How to load a object repository(using VBScript) ... very urgent....

4 Answers  


What is dynamic arrays

1 Answers   Patni,


what is the difference between data table and spread sheet?

1 Answers  


does QTP provides any tools for parametrisation?

4 Answers  


in how many ways you perform batchtesting?

2 Answers   Sapient,


how to write vbscript on web applications in qtp. explian with one example?

4 Answers   Wipro,


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


what the difference between shared repository and per action repository?

0 Answers  


How many types of parameters are available in quicktest professional (qtp)?

0 Answers  


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",

0 Answers  


Categories