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


hi
what is the use of "dim" in automation objective model or
any where what is the use of "dim" plz tell me

Answers were Sorted based on User's Feedback



hi what is the use of "dim" in automation objective model or any where what is the use ..

Answer / amarendra kothuru

Dim keyword is used to declare a variable in VB Script. QTP
uses VB Script so that we use dim to declare a variable in
QTP.

Is This Answer Correct ?    8 Yes 0 No

hi what is the use of "dim" in automation objective model or any where what is the use ..

Answer / munawwar

Dim is used to assigned the varibles in the vb script.

Is This Answer Correct ?    4 Yes 0 No

hi what is the use of "dim" in automation objective model or any where what is the use ..

Answer / sarath

usually QTP having only one variable ie.,Varient. and Dim means Dimension. so we can give any type of variable to it.
here, by using Dim, we can declare any no.of variables in a single line.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

What is recovery scenario manager? When you go for recovery scenario manager?

0 Answers  


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


what are the qtp tester responsibilities?

3 Answers  


how to test one edit box using Java addin for Web Applications? write script?

1 Answers   IBM,


write vbscript on veb applications in qtp with exapmles?

1 Answers  


In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?

2 Answers   Kanbay,


How can we perfom Action and Component parameter.?

1 Answers   EDS,


anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


what is the extension for the test version of the script?

5 Answers   TCS,


I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next

3 Answers  


What are main panes available in qtp test browser?

0 Answers  


I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to give input of drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. I have changed the drop down value as variable in Keyword view and given values in data table "A,B,C,D,E" as one below one. 4. While i am running the script it could not identify the drop down value which is in Data Table.It shows message. How to make value identify by QTP?

1 Answers  


Categories