Explain the difference between smart identification and
object identification withn clear example. please it is
very urgent
Answers were Sorted based on User's Feedback
In Object Identification ...smart Identification will come.
Let me explain clearly..
there are 3 stages of Object Identification...
1- recorded Description( Mandatory Properties and Assistive
Properites)
2 - Smart Identification
3- Ordinal Identifier
In first stage QTP will search an Runtime Object by using
recorded Description.
If it is not able to Identify an object with these
description it will go for Smart Identification. Here It
will check each and every Property uniquely. If any
mismatches comes then it will identify an Object.
Still it is not able..it will go for Ordinal Identifier...
in this stage we have 3 properties..Index, Location, and
Creation Time
Index : Tab Order of an Object in Application
Location : x,y position of an Object in Application
Creation Time: It is only for Browser, it is nothing browser
opened time.
If any queries...nanda.dreddy@gmail.com
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / simple
Generally QTP identifies the Objects using Mantadory
properties.
If Mantadory properties are not sufficient then QTP goes
for Assitive Propertis
If Assitive properties are not sufficient then QTP goes for
SMART IDENTIFICATION
Is This Answer Correct ? | 3 Yes | 1 No |
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
I have to do testing for XML file using QTP. 1. I was given a sample XML, I had to edit that with my actual data and had to make a new XML-- this part is completed, I did that. 2. Now I have to copy the exact contents of that XML file and have to paste it in a web application as a request message for web appliaction processing, using QTP. So I am unable to copy and paste it in web application, please help me out.
How can you handle exceptions in qtp?
how will you load the test cases in ddt?
What is the parameterization?
what is the extension of new local object repository?
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.
Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
Have you faced any problems with object repository?