Sunday, 3 July 2011

ASP.net FAQ


  • What are different types of directives in ASP.Net and what is their usage?

  • What is view state and use of it? Where is ViewState information stored ?

  • What are user controls and custom controls?

  • What are the validation controls? What are the types?

  • Which two properties are there in all validation controls?

  • What's the difference between Response.Write() andResponse.Output.Write()?

  • What is mean by caching ? Give some example.

  • What’s a SESSION and APPLICATION object ?

  • Explain the differences between Server-side and Client-side code?

  • Difference between ASP and ASP.Net

  • In which event all the controls fully loaded in asp.net page?

  • What’s the use of @ Register directives?

  • What is AppSetting Section in “Web.Config” file ?

  • what is the difference between Web.config file and Machine.Config files?

  • What do you mean by authentication and authorization?

  • What is Data Binding?

  • How can you enable automatic paging in DataGrid ?

  • What’s difference between Server.Transfer andresponse.Redirect ?

  • How do you upload a file in ASP.NET ?

  • How to use "CSS" file in asp.net and what is the purpose?

  • What is mean by application domain and how to achieve it?

  • How do I initialize a TextBox whose TextMode is "password", with a password?

  • Describe the difference between inline and code behind.

  • What data types do the RangeValidator control support?

  • How to sort the data in Datagrid ? when we use DataBound event of Datagrid

  • What exactly happens when ASPX page is requested fromBrowser?

  • How does ASP.NET maintain state in betweensubsequent request ?

  • Explain the process of aspx.page life cycle in IIS

  • What is event bubbling?

  • How can you enable automatic paging in DataGrid ?

  • How do we get the clicked row value from data grid? what is the event used for that

  • What are HTTP modules and How to create a http handler for a http module

  • What’s difference between Authentication and authorization?

  • Can you explain in brief how the ASP.NET authentication process works?

  • What is impersonation in ASP.NET ?

  • What are the various ways of authentication techniquesin ASP.NET?

  • What’s difference between Datagrid , Datalist andrepeater ?

  • What’s the method to customize columns in DataGrid?

  • How can we check if all the validation control are valid and proper ?

  • What is Tracing in ASP.NET ? How do we enable tracing ?

  • How can we kill a user session ?

  • How do I send email message from ASP.NET ?

  • What are different IIS isolation levels?

  • How to use a checkbox in a datagrid?

  • What are different types of caching using cache object of ASP.NET?

  • Which various modes of storing ASP.NET session ?

  • What are the ways to maintain state ?

  • How many type of Types of authentications in IIS?

  • Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.

  • What are Master Pages?



  •  

    Java Websphere Interview questions


    Java Websphere Interview questions


    1. What is JACL


    2. DB2 Connection from WebSphere

    3. When using the WebSphere, Which three updates would force you to restart the test environment?


    4. Whats the difference between WAS5.x and WAS6.x.


    5. how to deploy web/jar files in Weblogic or tomcat in unix/Linux environment ?


    6. What is the difference between Web Server and Application Server ?


    7. What is Deployment Descriptors? How many types of Deployment Descriptors are available? What are they?


    8. What is a server?


    9. what is the differences between web sphere 4.0,5.0 and 6.0.


    10. In IBM WSAD, server crashes sometime while running in debug mode .Is there any way to prevent it ??

    11. How to implement JDBC-ODBC bridge driver (Type 1) in Websphere'??


    12. Is there any difference between Weblogic and Websphere application servers


    13. how to import jaxp package in ibm wsad5.1


    14. how to choose websphere other than any application server


    15. how many ways deployments in ibm websphere.please give me one examples


    16. what are the different appication servers and webservers supporting JAVA,.NET and VC++ Technologies


    17. What is the use of weblogic and web sphere.
    __________________


     

    Springs Java FAQ

    Spring Interview Questions


    1) Explain about spring applications framework?
    Spring architecture helps you to manage your business objects. Implementation part of the spring is easy because it helps you to introduce it in the middle of the objects. This framework is easy to implement in testing conditions. This is used by many large vendors.

    2) State some benefits and advantages of spring framework?
    Some of the benefits which spring can offer you are as follows: -
    • It is very beneficial for middle tier applications and it can be used in various run time environments.
    • Various custom properties need not be used in applications.
    • Cost can be reduced by reducing the programming to interface cost ratio.
    • Applications built on spring framework are easy to test.

    3) Explain about portability of spring?
    Spring applications and framework are portable between different servers. This framework and applications are portable between many different servers such as Tomcat, Jetty, Web Logic, Web Sphere, Resin, Geronimo, etc. Environment features can be implemented without affecting portability.

    4) Explain about Bean factory?
    Spring is designed to work with Java Beans and this forms the core part of the Spring Framework. This is a generic factory and it lets users and developers to enable objects by name. This helps to manage relationships between objects.

    5) Explain about the two models of the object which Bean Factory supports?
    Two models of object which bean factory supports are: -
    1) Single ton and prototype.
    Singleton has one instance (shared) with an object and it is assigned a specific name which can be retrieved on lookup.
    Prototype results in creation of an independent object.

    6) Explain about Bean definition Reader interface?
    Bean definition reader interface separates Bean factory implementations from metadata format. This is very useful if the application needs different metadata implementations. This framework or interface can be implemented in different ways.

    7) State about the commonly used Bean Factory definitions?
    The most commonly used bean factory definitions are as follows: -
    1) XML bean factory and 2) DefaultListable beanfactory.
    XMLbean factory is used to parse XML structure to define classes and properties of objects (named).
    DefaultListablebeanfactory is useful to program bean factories and parse definitions.

    8) Explain about inversion control behavior?
    Inversion control behavior is obtained through bean factory concept. The best part about this container is it can be coded in a single line and has simple deployment steps. Inversion of control behavior is very useful to avoid heavy containers such as EJB.

    9) Explain about dependency injection?
    Dependency injection is used to remove dependence of explicit coding on container. It resembles to a form of IoC. Java methods are chiefly used to inject dependencies into an object. It is used to collaborate and configure values into an object.

    10) Explain why an organization needs to implement spring framework?
    Spring framework is essential because it touches important aspects such as
    1) It is very useful to manage business objects
    2) Spring architecture is very flexible it regains its architecture even when you can take some parts of it.
    3) Testing part is very efficient and east to use.
    4) Vendors recognized its importance and they are using it for enterprise Java development.

    11) Explain about how to deploy applications using POJOs?
    Spring helps you to develop components using POJOs. Spring Framework takes care of your need to build enterprise applications. Infrastructure of your application should be away from the business logic because it can improve the pace of your business logic changes. This is provided by Springs Framework.

    12) Explain about auto wire support?
    When auto wire is used as an optional attribute it reduces the volume of configuration. Auto wire should be used on the root element and this is used to activate auto wiring for all beans. If you would like to add an additional constructor it can be populates without the need to change configuration.

    13) Explain the three different methods which are provided by the Namespace Handler interface?
    The three different methods which are provided by the name space handler interface are: -
    1) Init() is used to allow initialization for name space handler.
    2) BeanDefinition parse is used when a Spring encounters a top level element.
    3) BeanDefinitionHandler is used when spring encounters an attribute.

    14) Explain about the different ways in which Spring JDBC can help you?
    There are several ways in which a spring JDBC can help you they are: -
    1) Connection leaks can be avoided.
    2) Code can be focused on necessary SQL and it is very low.
    3) Applications will never have to depend on RDBMS error specification handling.
    4) You can easily implement DAO pattern without business logic.

    15) Explain about exception wrapping?
    Wrapping can be effectively done using spring. It makes the proprietary code to run in the ORM layer to a set of abstracted run time exceptions. Persistence exceptions can be easily handled. Handling of exceptions can be done very easily.

    16) Explain about transaction management in spring?
    Spring uses its own abstract for transaction management. It uses to deliver
    1) Programmatic transaction management through SimpleJdbcTemplate.
    2) Declarative transaction management is similar to EJB. It is compatible with superset of EJB CMT with some unique features.

    17) Explain about integration of spring with AspectJ?
    Spring integrates comfortably with AspectJ and this aspect makes it very poular. It makes it possible to include AspectJ aspects into Spring applications. Using Spring IoC container it is possible for dependency inject AspectJ. AspectJ is also used to inject non spring managed POJO using spring. It is uses XML and annotation driven pointcuts.

     

    Java Struts FAQ


    1. struts comes under which layer of three tire architecture in real time projects plz i need explaination?
    2. Difference between struts1.2 and struts2.0?
    3. is it possible to see actionservlet in my system. if yes how
    4. what is the difference between page and pageContext implicit variables
    5. Where can i get jar file for use the struts-tags in struts2?
    6. How can I make own ActionServlet? with example
    7. How do you customize ActionServlet?
    8. while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
    9. In web.xml file instead of *.do can i write *.ibm, Specify with example
    10. If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da???
    11. multiple instances for action class is it possible
    12. what is the difference between ServletContext and ServletConfig?
    13. Is Struts Action class Thread Safe?
    14. Which parser is used in Struts to parse the Structconfig.xml file.
    15. life cycle of struts?
    16. Is it possible to create mulitple instance of one Action Class in struts?
    17. can anyone help me to send the code for Jasper Reporting in java?plz
    18. How to explain Software Bank Loan descriptions
    19. why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?
    __________________


     


  • How to forward from Array List to Jsp in Struts ActionServlet class?

  • what is the difference between SAX Parser and DOM Parser??

  • How data transfered from one formbean to another formbean?

  • What is Request Dispatcher and What is reuest Processor??

  • which MVC architecture struts follows and why?

  • where you will implement the tiles in struts?

  • its a ActionForm controller or model?

  • whats is mean Actionerrors and Actionerror?

  • how the error can be showed in the jsp page in struts?

  • what are the type of forward class in Struts?

  • who will run the execute method in struts?

  • how will you view ur jsp page to the client by using properties file?

  • what is mean by custom tag?

  • wahts the diif between Mvc1 and Mvc2?

  • what are the actions in struts?

  • what are tiles in struts?

  • how you implement and maintain your struts project by using MVC2 arch?

  • How is the Struts framworl related to MVC2?

  • what are componeents presents in Strutsconfig.xml?

  • what are the componenets of struts?

  • what r the disadvantages of MVC-2 Architecture?

  • struts is thread safe or not ?give me answer as early as possible

  • when connecting with the database,if database server is down,ho can we handle this exception in struts,how can we send error message to the user?

  • what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?

  • what is the disadvantages of using DynaActionForm in struts framework?

  • Is form beans are serializable or not?

  • what is the disadvantage of struts frame work?

  • project architechture in java

  • How to depoly your struts application in JBOSS

  • What are Struts properties?

  • In Struts Programming which is the controller,which is the model?

  • Wat is Difference between Mvc1 architecture and Mvc2 Architecture?

  • What is Request Dispatcher and what is Request Process?

  • What is Struts Frame Work Architecture(With Diagram) ?

  • what is the advantages and diadvantages of Struts?

  • How do you know what to give for the "path " under in struts-config.xml ?

  • Is struts thread safe?

  • What is difference between perform() used in struts1.0 and execute() used in 1.1 ?

  • How many types of action clases are there in stuts and their uses?

  • How to set email notification using struts.Plz give the example code?

  • How to create validations?what are struts validation components?

  • why servlet is used as controller not JSP?

  • How to pass runtime Parameter in Struts1.2?

  • how to create a search field in struts.with code

  • what is ForwardAction and IncludeAction in struts?

  • How Struts will follow the MVC?

  • What is MVC Architecture?

  • what is the purpose of action servlet and action?

  • what is tiles in struts?

  • what is frame work in struts?

  • What is the difference between a Strut and a Class?

  • Difference between JSF Framework and Struts Framework.



  •  

    JSP FAQ

    Q: What is a output comment? 
    A: A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser.

    JSP Syntax
    <!-- comment [ <%= expression %> ] -->

    Example 1
    <!-- This is a commnet sent to client on
    <%= (new java.util.Date()).toLocaleString() %>
    -->

    Displays in the page source:
    <!-- This is a commnet sent to client on January 24, 2004 -->

    Q: What is a Hidden Comment?
    A: A comments that documents the JSP page but is not sent to the client. The JSP engine ignores a hidden comment, and does not process any code within hidden comment tags. A hidden comment is not sent to the client, either in the displayed JSP page or the HTML page source. The hidden comment is useful when you want to hide or "comment out" part of your JSP page.
    You can use any characters in the body of the comment except the closing --%> combination. If you need to use --%> in your comment, you can escape it by typing --%\>.
    JSP Syntax
    <%-- comment --%>

    Examples
    <%@ page language="java" %>
    <html>
    <head><title>A Hidden Comment </title></head>
    <body>
    <%-- This comment will not be visible to the colent in the page source --%>
    </body>
    </html>

    Q: What is a Expression?
    A: An expression tag contains a scripting language expression that is evaluated, converted to a String, and inserted where the expression appears in the JSP file. Because the value of an expression is converted to a String, you can use an expression within text in a JSP file. Like
    <%= someexpression %>
    <%= (new java.util.Date()).toLocaleString() %>
    You cannot use a semicolon to end an expression

    Q: What is a Declaration? 

    A: A declaration declares one or more variables or methods for use later in the JSP source file.
    A declaration must contain at least one complete declarative statement. You can declare any number of variables or methods within one declaration tag, as long as they are separated by semicolons. The declaration must be valid in the scripting language used in the JSP file.

    <%! somedeclarations %>
    <%! int i = 0; %>
    <%! int a, b, c; %>



    Q: What is a Scriptlet? 

    A: A scriptlet can contain any number of language statements, variable or method declarations, or expressions that are valid in the page scripting language.Within scriptlet tags, you can
    1.Declare variables or methods to use later in the file (see also Declaration).

    2.Write expressions valid in the page scripting language (see also Expression).

    3.Use any of the JSP implicit objects or any object declared with a <jsp:useBean> tag.
    You must write plain text, HTML-encoded text, or other JSP tags outside the scriptlet.

    Scriptlets are executed at request time, when the JSP engine processes the client request. If the scriptlet produces output, the output is stored in the out object, from which you can display it.

    Q: What are implicit objects? List them?

    A: Certain objects that are available for the use in JSP documents without being declared first. These objects are parsed by the JSP engine and inserted into the generated servlet. The implicit objects re listed below
    request
    response
    pageContext
    session
    application
    out
    config
    page
    exception

    Q: Difference between forward and sendRedirect?
    A: When you invoke a forward request, the request is sent to another resource on the server, without the client being informed that a different resource is going to process the request. This process occurs completly with in the web container. When a sendRedirtect method is invoked, it causes the web container to return to the browser indicating that a new URL should be requested. Because the browser issues a completly new request any object that are stored as request attributes before the redirect occurs will be lost. This extra round trip a redirect is slower than forward.

    Q: What are the different scope valiues for the <jsp:useBean>?

    A: The different scope values for <jsp:useBean> are

    1. page
    2. request
    3.session
    4.application

    Q: Explain the life-cycle mehtods in JSP?
    A: THe generated servlet class for a JSP page implements the HttpJspPage interface of the javax.servlet.jsp package. Hte HttpJspPage interface extends the JspPage interface which inturn extends the Servlet interface of the javax.servlet package. the generated servlet class thus implements all the methods of the these three interfaces. The JspPage interface declares only two mehtods - jspInit() and jspDestroy() that must be implemented by all JSP pages regardless of the client-server protocol. However the JSP specification has provided the HttpJspPage interfaec specifically for the JSp pages serving HTTP requests. This interface declares one method _jspService().
    The jspInit()- The container calls the jspInit() to initialize te servlet instance.It is called before any other method, and is called only once for a servlet instance.
    The _jspservice()- The container calls the _jspservice() for each request, passing it the request and the response objects.
    The jspDestroy()- The container calls this when it decides take the instance out of service. It is the last method called n the servlet instance.




    Q: How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
    A: You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Just execute the following scriptlet at the beginning of your JSP pages to prevent them from being cached at the browser. You need both the statements to take care of some of the older browser versions.
    <%
    response.setHeader("Cache-Control","no-store"); //HTTP 1.1
    response.setHeader("Pragma\","no-cache"); //HTTP 1.0
    response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
    %>

    Q: How does JSP handle run-time exceptions? 
    A: You can use the errorPage attribute of the page directive to have uncaught run-time exceptions automatically forwarded to an error processing page. For example:
    <%@ page errorPage=\"error.jsp\" %> redirects the browser to the JSP page error.jsp if an uncaught exception is encountered during request processing. Within error.jsp, if you indicate that it is an error-processing page, via the directive: <%@ page isErrorPage=\"true\" %> Throwable object describing the exception may be accessed within the error page via the exception implicit object. Note: You must always use a relative URL as the value for the errorPage attribute.

    Q: How can I implement a thread-safe JSP page? What are the advantages and Disadvantages of using it?
    A: You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive <%@ page isThreadSafe="false" %> within your JSP page. With this, instead of a single instance of the servlet generated for your JSP page loaded in memory, you will have N instances of the servlet loaded and initialized, with the service method of each instance effectively synchronized. You can typically control the number of instances (N) that are instantiated for all servlets implementing SingleThreadModel through the admin screen for your JSP engine. More importantly, avoid using the tag for variables. If you do use this tag, then you should set isThreadSafe to true, as mentioned above. Otherwise, all requests to that page will access those variables, causing a nasty race condition. SingleThreadModel is not recommended for normal use. There are many pitfalls, including the example above of not being able to use <%! %>. You should try really hard to make them thread-safe the old fashioned way: by making them thread-safe .

     

    Advanced Java


  • JMS based on what technology?

  • Is 'synchronised' a modifier?

  • In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

  • What is the need of serialize?

  • How to pass parameters in RMI?

  • How to implement RMI in Java?

  • How to deploy Jar, War files in J2EE?

  • How two threads will communicate with each other?

  • How primary key is implemented in Oracle?

  • What are the types of data passing mechanisams under JMS specification?

  • How many requests can a server fetch at a time?

  • Howmany interfaces are used in RMI?

  • How JNDI is used in JMS ?

  • Explain about thread synchronization inside a monitor?

  • On a computer that having single CPU, how multithreading concept can be achieved?

  • How do you download stubs from a Remote place?

  • What are JTA/JTS and how they used by client?

  • Have you used threads in Servelet?

  • What are skeletons and stubs and how they are generated?

  • What is the priority of Garbage collector thread?

  • Tell me about Firewalls in RMI?

  • Explain the methods of Naming class, rebind( ) and lookup()?

  • Explain lazy activation?

  • How database connectivity in XML is achieved?

  • Define the remote object implementation?

  • Define the remote interface?

  • If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

  • If we opened windows notepad 4 times, does it starts 4 processes or 4 threads?

  • Explain the steps in details to load the server object dynamically?

  • Can a thread be a member of another thread?

  • Where we can write Rmi registry in the code, without having to write it at the command prompt?

  • What is MOM?

  • What is DTD?

  • What is waiting state? In what ways a thread can enter into waiting state?

  • what is Static binding?

  • How a component can be placed on Windows?

  • How to determine SGA site?

  • How can a dead thread be restarted?

  • How to determine applet?s height and width?

  • What is source and listener?

  • What is a layout manager?

  • Differences between applications and applets?

  • What are different types of layout managers in java.awt package?

  • What are different types of controls in AWT?

  • How do you set security in applets?

  • What is the lifecycle of an applet?

  • What is an applet?

  • What is codebase in applet?

  • How many ways can a thread be used?

  • What is multithread synchronizing ?

  • How is serialization used generally ?



  •  

    Core Java


  • How the elements are organized in BorderLayout?

  • How to avoid the runtime exception ?

  • What is deadlock and how to avoid this?

  • How to add and remove nodes in Jtree?

  • Can applet in different page/s communicate with each other?

  • Can an unreachable object become reachable again?

  • How you can create a radio buttion using Checkbox class?

  • How GUI component handle its own events?

  • Without creating a new object, How you can retrieve a String or other object?

  • How are this() and super() used with constructors?

  • How are this and super used?

  • How the elements are organized in GridLayout?

  • Can you declare a static variable in a method?

  • Can you call a constructor within a constructor?

  • Can we declare variables inside a method as Final Variables?

  • How the elements are organized in GridBagLayout?

  • Howmany address lines are required to addressing 1 MB memory?

  • What is lazy activation?

  • Explain about Superclass and Subclass?

  • Explain Stream Tokenizer?

  • Explain Event handling in AWT?

  • what are ER diagrams?

  • Does java support multi dimensional arrays ?

  • Does garbage collection guarantee that a program will not run out of memory?

  • Difference between String & StringBuffer

  • Difference between Interface & Abstract class?

  • Can an anonymous class be declared as implementing an interface and extending a class?

  • Can an abstract class be final?

  • Can a lock be acquired on a class?

  • Difference between Applet & Application?

  • Difference between canvas class & graphics class?

  • Define Compiling?

  • What is the default modifier in Interface?

  • What will happens if you opened Internet Explorer 4 times?

  • what are Checked & Unchecked exceptions ?

  • Can you run the product development on all operating systems ?

  • Can you have an inner class inside a method and what variables can you access?

  • Can you have a constructor in abstract class?

  • Can you extend more than one interface?

  • Can we access a database using applets?

  • Can try statements be nested?

  • Can an exception be rethrown?

  • Can Applet have constructors?

  • As a developer what steps do you take to improve the performance?

  • Does 'true' and 'false' are keywords?

  • Explain about global variables in Java?

  • How are commas used in the initialization and iteration parts of a for statement?


  • Can a Byte object be cast to a double value?

  • What is static binding and where it occurs?

  • what is Remote Reference Layer ?

  • What is file class and what is its purpose?

  • Explain Public static void main?

  • Name two subclasses of the TextComponent class?

  • What are teh sub-classes of a component class?

  • What are the names of Component subclasses that support painting?

  • What primitive Java types? Howmany are they and what are their names?

  • What are the names of interfaces that doesn't consists of method/s ?

  • Can you give names of Container classes?

  • What classes can be used to store arbitrary number of objects ?

  • Explain Connection Pooling?

  • Are there any tools available in java to create reports?

  • Does any tag exists in HTML to upload and download files ?

  • Is 'sizeof' a keyword?

  • Is 'null' a keyword?

  • Is multiple inheritance allowed in Java? Why ?

  • Are nested try statements are possible?

  • A class can be a subclass of itself?

  • Is &&= a valid Java operator?

  • What are Inner classes?

  • Name the package that most of the AWT events that supports event-delegation model are defined?

  • How to display names of all components in a Container?

  • What we have to do, when we don't want to implement all methods of an interface?

  • How to re-get an object that is collected by garbage collector?

  • How to access a variable if it is declared as private?

  • How to access a method that it declared as protected?

  • How can a class be accessed, If no access modifiers are declared?

  • How to add panel to a Frame?

  • How to prevent a field from serialization ?

  • How to know the host from which Applet is originated?

  • What method is used to compare two strings ?

  • How applets will communicate with each other?

  • How many times garbage collector will invoke an object?s finalize() method?

  • How can you take string into InputStream?

  • How can you reverse a string?

  • How to transfer data from an Applet to Servlet ?

  • How to print nodes of a Binary tree?

  • Can an object?s finalize() method be invoked while it is reachable?

  • Can an object be garbage collected while it is still reachable?

  • How to implement a multithreaded applet?

  • How to find the length and capacity of a string buffer ?

  • How can you eliminate duplicates?

  • How can you debug the Java code?

  • How to convert a string to long?

  • How to connect to a remote database using Applet?

  • explain about casting of objects?

  • What are parent methods and how can you call them?

  • How the elements are organized in CardLayout?




  •  

    QTP Automation Testing, Silk Test,Load runner FAQ

    QTP Interview Questions
    1. What are the different scripting languages you could use when working with QTP ?

    2. How do you test a column weather it is sorted asc or desc in QTP ?

    3. How to use regular expression in any subscription form when registered. script running successfully but it gives error on submission form

    4. The input to a program is three integer values. The three values are interpreted as representing three sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles, or equilateralScalene – all three sides are of the triangle have different lengthsIsosceles – any two sides of the triangle have same lengthsEquilateral – all the three sides have equal lengths Write test cases (i.e., specific sets of data) that you feel would adequately


    5. How to Count No. of Check Boxes in a web page by using Descriptive programming?

    6. QTP : Web table objects are not counted in the run time


    7. Synchronization points


    8. How to pass a key in the query while creating a database check point?


    9. QTP : Set the value to the winedit box in run time


    10. What is the difference between Database Check point and XML check point with examples?
    11. How do you convert manual test cases to automated test cases. How do you create regression test packs How do you maintain your regression test packs when your requirement specification has gone obsolette i.e what do you do when you have a new version of reqt spec. How do you maintain the regression test pack when code changes in the application. How do you substitute hard coded values in the automated script with user defined data values from excel spreadsheet.


    12. How to identify special character thru regular expression in QTP for Java Based application


    13. How do we pass values between actions in one test other than by action call?
    14. what are run time objects and what are Test objects.


    15. How do you check ticket cost and ticket number in flight application

    16. What is Descriptive Programming? Where we can use this Descriptive PRogramming in real time ?


    17. This question was asked in Philips. Suppose there is a printer and an software application , if u press print in application the printer starts printing. But while executing in QTP this suddenly the printer fails and QTP execution stops. iN order not to stop execution or to run the script what will be your approach ?


    18. How do you parametrize radio button?

    19. What is the file extension of the code file & object repository file in QTP?

    20. Open QTP on Network

    21. VBscript for any functionality

    22. Why only QTP?


    23. Write VBscript without using QTP Recording


    24. stop QTP from recording mouse clicks


    25. How to Submit data from an external file to a url using QTP


    26. Compare UAT with Production Web Page


    27. How verify a particular row item in data grid control?


    28. Debug QTP Automation Script


    29. What is the difference between application testing and product testing?

    30. What is CMMP and CMMH?

    31. database checkpoint


    32. How do you open adobe acrobat file in QTP and do some testing on that file ?


    33. Descriptive programming in QTP for a website .


    34. Checkpoints in functions


    35. How to retrieve values, from different inactive textfields, and put all these under each other in a split, in an excel-table?


    36. SAP application automating using QTP


    37. What is the size of the Object Repository ?


    38. If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart Identification? Why?

    39. How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality Center using QTP Script?


    40. Can a QTP script have two OR's, if so while using one OR sheet, how do you associate the 2nd OR.


    42. what is a file system object in QTP


    43. QTP not getting the object


    44. How to break the object spy ?


    45. QTP data table question

    46. checking background color and images using QTP


    47. what is the difference between global function and reusable action?


    48. How do you connect to database using vbscript ?

    49. How to handle dynamic objects in QTP?

    50. What are the properties you would use for identifying a browser

    51. how to capture the dynamically changing datas in web page thru QTP coding?any sample coding for the above


    52. If an application name changes frequently, i.e. while recording it has a name Window1 and then while running it becomes Window2. How does QTP handle this?


    53. Export data Sheet from qtp to quality center

    55. Can any one pls tell me about how to configure the environment variables in qtp and how to use the variables, with example:


    56. How QTP identify the system time that's changes every seconds?


    57. how can we export the "test result" to any excel sheet automatically after completion of execution of test???


    58. QTP Descriptive Program Objects List


    59. How to save User Defined Data in Global Data Sheet


    60. How do you maintain share repository? How do you convert local repository scripts to shared repository,
    61. differenced between quick test proffesional version 5.6 and 8.2

    62. What is the use of function and sub function in QTP?

    63. How do you test dynamically changing links on a web site through QTP?


    64. How can I implement error handling in QTP


    65. How can you tell a particular script will work in all the browsers?


    66. how many types of recording modes in QTP?describe each type with an example where we use them?


    67. How to call a test from another test?

    68. QTP Script for runtime changing objects


    69. QTP : Import data from a data source at run time


    70. How to Pass variable in the sql query when creating DB Checkpoint

    71. Using QTP to test Adobe Flex

    72. what to do if the tree view is not recognised by the QTP?

    73. how to write a function for Maximising a Browser in QTP ?

    74. How to recognize the page in QTP?

    75. How can I implement error handling in QTP and How to recall a function in QTP

    76. What are the disadvantages of datadriver tests in QTP


    77. How i can get class name of test object by repository logical name?

    78. How can i call a external action which is not added external action of an action.


    79. Explain the concept of object repository & how QTP recognises objects?

    80. Give me an example where you have used a COM interface in your QTP project?

    82. How to Delete a check points Associated files in QTP


    83. Explain "QTP using different development techniques (not just Record and Playback)", this is the requirement one client to recruit QTP Tester.


    84. QTP Check Points


    85. How can we capture a moving image in QTP


    86. QTP : Inserting a text into a cell of an excel sheet


    87. How will you find the current time of the remote machine using QTP script?


    88. After doing parameterization can you remove it? How?

    89. What is a Patch in QTP?


    90. What is Associate Repository in QTP 9.2

    91. What feature would you use in QTP to find out the name for an element on the HTML page we want to test? Subscribe

    92. what is the automation frame work?


    93. How to instruct QTP to display errors and ther description in the test results instead of halting execution by throwing error in the mid of execution due to an error(for example Object not found)?


    94. What is the difference between run time object and test object in QTP?


    95. Can you record right click and the menu appearing after right clicking on any of the links in the browser...??If YES then HOW...??

    96. How to execute a Parameterized SQL query in QTP script?


    97. Why QTP is termed as icon_based tool?

    98. What is the difference between QTP 9.0 and QTP 9.2


    99. How do you synchronization point through DP?


    100. How do you handle runtime error in QTP when specified excel sheet specified in script does not exist

    101. Explain the difference between data driven testing and parameterization


    102. Explain what the difference between Shared Repository and Per_Action Repository


    103. Can we download the test cases which are present in test director to an excel sheet.. (if the number of test cases are say around 50)

    104. How do you send email with attachment from outlook using qtp ?

    105. While running a script on QTP 8.2 i got this run time error "General run error". What may be the cause for this error? and How to resolve this error?


    106. Explain the keyword createobject with an example.


    107. What is the use of Text output value in QTP?

    108. How to check the web application for broken links using QTP?

    109. What the differences are and best practical application of each.


    110. Explain the concept of how QTP identifies object.

    111. Where can I get Quck Test pro(QTP Pro) software.. This is Just for Information purpose Only.


    112. How can we do the Frame work in QTP

    113. How does QTP identifies the object during run time?

    114. How the exception handling can be done using QTP


    115. When Object Repository is huge, there is no space to add more features we had 5 more features are pending to add. How can we add this features for writing the scripts. Always descriptive programming is not a good solution and we dont want to go for that also, Version of the QTP tool is QTP 9.0


    116. If you giving priority as p0, as a developer if I give priority as p2, What happens?In user defind function check point intersection is possible or not?


    117. Anybody with an experience of testing Mainframe applications. I usually check the ActiveX and VB add-ins while launching the test. Also I'm wondering how would the object repository look when we actually select the Terminal Emulator add-in and record the sript.Will it only record the Terminaal Emulator as the Object or will it record all it 's children, i mean the fields on the GREEN SCREEN.Let's discuss.


    118. What are the Features & Benefits of Quick Test Pro(QTP)..?


    119. Explain me how to write the Descritive programming in qtp using sample filght application?

    120. How do you run alternate iterations from the data table

    121. What is called "Smart Identification" in QTP ? Briefly explain how to do it?


    122. how to handle java tree in QTP


    123. What is the difference between Call to Action and Copy Action.?
    124. How to use the Object spy in QTP 8.0 version?


    125. How to write Regular Expression with alpha numeric including special characters...

    126. How to run QTP scripts recorded in Internet Explorer on a Netscape or FireFox browser.

    127. How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?


    128. Can anyone tell me which is the best SDLC model from the QA'S point of view?or which SDLC mode
    Can anyone tell me which is the best SDLC model from the QA'S point of view?or which SDLC model is the best and fast?


    129. What is the difference between check point and output value.


    130. How do you record a command prompt operation in QTP?

    131. How do you data drive an external spreadsheet?

    132. What is the similar for Goto specific step or function in QTP


    133. Is it possible to connect and test Mainframe applications in QTP ?

    134. if we want to run QTP tests thru QC(say it is on machine "A") on a different machine(say machine "B").then do we need to have QTP installed on machine "B" or simply installing the Remote agent will do?


    135. what is the difference between "Wait" Statement and ThinkTime Method Services.


    136. How do you export object repository?

    137. How database testing is done using manual testing i.e., without using any automation tools

    138. I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?


    139. How to load a .tsr file(object repository) in QTP thru code as it is in the Winrunner like, gui_load. Is there any script exist in QTP8.2


    140. How to perform Cross platform testing and Cross browser testing using QTP?Can u explain giving some example?

    141. How can we write scripts without having GUI(means u dont have any GUI and u want to write a script in QTP)?


    142. How to call the library file into the script, without hard coding the path in the script?
    143. What are the disadvantages by using database checkpoint in QTP?


    144. what is the difference between bitmap checkpoint and image checkpoint . Explain specific real time usage of bitmap checkpoint and image checkpoint


    145. What is meant by Keyword driven testing and what is Data Driven testing?kindly tell me the meaning with actual differences


    146.
    What are the advantages of descriptive programming over record and play back, explain with an example.


    147. What is syntax for "sleep" and "suspend" in synchronization point?


    148. What is the difference between functions and actions in QTP?


    149. What is the difference between libraries and actions in QTP


    150. If you want to avoid using the Object Repository, How would you do it?

    151. What is descriptive programming?


    152. I am working as Test Enigneer.In our company we are doing manual testing .I am keen to learn QTP tool...I download QTP from net..while conducting data driven testing i am facing problemplease explain me how to paramaterize ,how to perform data driven testing


    153. How to write QTP test results to an Excel application, Please provide the exact code if possible ASAPThanks in advance


    154. How many folders are created in one test case execution in QTP


    155. What is descriptive Programming in QTP?


    156. What is the Difference between Action, Procedure and Function?


    157. What is QTP frame work? When we prepare the data for data driven testing ?


    158. In how many ways parameterization can be done in QTP?

    159. What is Description Object?What are SetToProperty, SetRoProperty, GetToProperty scripting?What is the difference between version 6.5 and 8.2?What is the difference between Normal mode and Fast mode?How do you invoke the application through QTP?How do you close the Task Manager through QTP?How will you load the object during run time?How will you handle the situation when object is not captured during record?

    160. What is Synchronisation?What is Parametarisation?What is addin environment?


    162. Hi all,I am facing one problem in my .net qtp application.In one page My script has to select order menu item from Add dropdown menu ex:Add->order.There is a bug in the page which opens up a pop up dialog box saying


    163. Give one example where you have used Regular Expression?

    164. What is the command in QTP to invoke IE Brow?


    165. What is a Run-Time Data Table? Where can I find and view this table?


    166. how to invoke a databse application for database testing?
    167. How can I get text on the object?what command can I close the web application?

    168. How to run QTP scripts recorded in Internet Explorer on a Netscape or FireFox browser?nestcape tries to read the code this wayWindow("Netscape Browser").WinObject("NS_AE_WindowClass").Type "http;//servername:8080/trial/"whereas for IEBrowser("Browser").Navigate (Datatable.Value("url","Global"))so when i run the IE script on netscape it fails.


    169. How many check points are available in QTP


    170. How does Parameterization and Data-Driving relate to each other in QTP?

    172. If an application name changes frequently, i.e. while recording it has a name Window1 and then while running it becomes Window2. How does QTP handle this?


    173. Differentiate the two Object Repository Types of QTP.


    174. how many maximum actions can be performed in a single test

    175. if a error occur during the excution of QTP script. how can we get the name of the current object that cause the error


    176. What is the procedure to test flash applications using QTP?

    177. Microsoft has developed a clock application which converts digital display to analog display. The end user of the application can change / update / modify the time from the digital panel of the clock. Moreover, this is the only way; the end user can change the time.Whenever the end user modifies the time in the digital panel, the hours, minutes and seconds hands will move accordingly – as shown in the three figures above.The end user can change the time by directly clicking in the digita


    178. What is Reference path in QTP?And what is the way to get name of the browser at run time?

    179. How do you compare two images in a web page using QTP


    180. Choosing appropriate Scripting Languages in QTP(Java Scripts / VBScripts) and When/How to choose between the two.


    181. I am using the QTPlus Repositories Merge Utility to merge all my different repositories into a single one. After having merged some repositories, I notice that, from the test, you can't see the web objects that were merged into the reposotory.If you open the merged repository in the Merge Utility, the web objects appear there.Has anyone encountered this problem? Am I missing something obvious? Does anyone have a solution?Thanks in advance.


    182. what if storage limit of shared object repository exceeds its limit(2 MB).how this kind of situation can be handled?


    183. How to set the object repository as shared/per action mode in QTP 9.1?


    184. What are Recovery Exception?

    185. how to test minimum balance of an account while we transfer amount from one account to another account using QTP?

    186. What are smart identifiers in QTP?


    187. what are the challenges you have faced while testing web based application using the automation too
    what are the challenges you have faced while testing web based application using the automation tools

    188. How many types of recording are there in QTP?


    189. What is the Difference Between Bit map Check point & Image Check pointPlease explain in detailText & text area check point?

    190. How are objects captured by smart identifiers in QTP?

    191. What is recovery manager and describe?


    192. What is 'sleep' in sync point?

    193. how can we know the size of the object repository?


    194. how do you measure transaction time in QTP other than start and End transaction


    195. Hi,what is the procedure of doing SQL/database testing?Is a tester suppose to create procedures,functions,views,triggers etc?


    196. How many Actions possible in QTP


    197. Why QTP is called A "Keyword Driven Test Tool"?

    198. How to recall a function in QTP


    199. How to add run-time parameter to a datasheet?


    200. How many types of Actions are there in QTP?


    202. How do you validate alternate text appearing in FireEvent?


    203. How do you retrieve run time data from QTP scripts if the run time properties are not available.


    204. Write QTP Script for scroll bar in application?

    205. How to get a text from a list box,a cell from a table,and edit a text box?


    206. Where is the bitmap chekpoint information saved?

    207. How many strings can we declare in an array in QTP?

    208. what is a virtual object and how can we create one in QTP?


    209. This is the chain of question#: 15434What conditions we go for Reusable Scripts and how we create and call that into another script? Please provide sample script


    210. What is environmental variable? Explain me with an example?


    212. Is it possible to test a web application(java) with winrunner?otherwise is it possible to check with QTP?which one is best?

    213. How do you change the Per-action Object repository option to shard object Repository option on the Test settings dialog window on QTP?

    214. How does QTP identifies the Test objects & Run time objects

    215. How to handle the exceptions using recovery secnario manager in Qtp?

    216. . . How to work with controls without learning them into the Object Repository?a) You cannot work without object repositoryb) Use GetTOProperty to change the property of an object and identify the objectc) Run the script in update mode and let the objects get updated automaticallyd) Use descriptive programming


    217. What are functional testing features or enhancement in QTP? How to create function libraries in QTP?What is step recording in QTP?What is meant customized keywords in QTP?what is customized functions in QTP?


    218. QTP Data table

    219. Explain about descriptive programing for time filed using RegularExpressions?

    220. How to test a date with QTP ?

    221. can any one tell me whether QTP is a Compiler or Interpreter

    222. How do you load existing object repositery in a newly created script? Is there any "Load" equivalent winrunner function available in QTP?

    223. How to create a popup object in QTP?

    224. How do you use recovery management in the QTP? Explain with an example usage?

    225. what is the difference between data driven framework and keyword driven framework?

    226. how many modes are there in QTP ? describe about them ?


    227. How to do concurrency testing with QTP.

    228. Even after deleting a previously called reusable action the local sheets dont disappear from the data table.. is there any way of getting rid of these sheets.


    229. Discuss QTP Environment.


    230. How do you count items from a listbox using qtp
    231. How to run or call a test in QTP which is saved in unknown drive with unknown extension ,with name 'xyz"


    232. Color comparison test in QTP


    233. How to apply Regular expresions to a web page in QTP

    234. How to get the value of a disabled edit box in QTP. What is the Winrunner" edit get info " equivalent function in QTP.


    235. 1. You create a suite of scripts which use a shared object repository. One of the objects, the status bar on your application’s main window, is named AFX4450. The object appears in many scripts and is causing confusion because of its non-intuitive name. You are asked to rename the object Status Bar.Which answer best describes what must be done to rename the object and ensure that all scripts in which the object appears execute without error?A. Only rename the object in the object repository


    236. How to handle QTP generated run time errors through Recovery Manager


    237. Recently I was asked at an interview like this. When two parameters say a,b with specific values are defined in action1 and in action2 need to use those values in c say c=a+b. How do you do that in scriptting

    238. QTP code for running stored procedure


    239. how to run a script in QTP without storing the properties in object repository?


    240. what is the process to follow between writing the test cases & then automating it?


    241. How to record a script using the CMD (windows command line shell) ?


    242. what is the difference in input/output parameter using at the following options. 1) test->setting-
    what is the difference in input/output parameter using at the following options. 1) test->setting->parameter (tab) 2) step->action properties->parameter (tab)and when and why? we use (1) and (2) ?


    243. QTP Function Question


    244. what is QTP batch testing tool?

    245. how many ways you can execute test script?


    246. How to read data from runtime PDF documents


    247. How to instruct Qtp to display errors and other description in the test result instead of haulting execution by throwing error in the mid of the execution due to error? For egbject not found


    248. Hi All,How to check number of items in a WebList at run time. I have tried using Browser("browser name").Page("page name").Frame("frame name").WebList("list1").GetROProperty("length"), but it is not returning anything. GetROProperty("size") is also not working.Please let me know which run time property I have to check.

    249. IS it possible to use Start-up Scripts in QTP as in Winrunner


    250. Is it possible to add objects to the Object Repository during runtime

    251. How to find the ordinal position of an item in weblist without using array or instr function.ex:assume i have 5 items in weblist like US,UK,INDIA,CANADA,FRANCE.I want to know position of UK IN list


    252. What is the QTP environment


    253. How do you call functions in QTP Project without adding test settings, resources(library functions)
    How do you call functions in QTP Project without adding test settings, resources(library functions).Is there any other way around?


    254. Please Explain difference b/w function and Action?


    255. Explain about Descriptive programming with an example usage ?

    256. In QTP when recording, no script is generated, neither in the tree view nor in the expert view. What could be the problem?






    257. What is the difference between keyword view and expert view?


    258. Upgrading QTP Scripts Question


    259.
    How to retrieve a output data value stored in a data table of a test by a different test and parametrize to a step? how?


    260. Among all the check points what is the most important checkpoint?

    261. What is the difference between Test and a Business Component in QTP?


    262. what is meant by test frame

    263. what is an data driven extensoin in QTP scrpit?


    264. What is Wait technique and Global technique in QTP?


    265. Where do you use Browser(ppLoginBrowser).Dialog(SecurityAlertDialog ).Exist

    266. I have encountered a problem while working on QTP 8.2.I am not able to view/modify the QTP scripts in Expert View as the Expert view gets disabled.The scenario is like:- Open any existing script, it is displayed in Keyword as well as Expert view.- Now either switch over to Keyword view or any other application.- Now again switch over to Expert view of QTP.The Expert view is disabled, i cannot even view the script, but the script is displayed in keyword view.If you or any other person has any id

    267. How do you fetch data from search results grid using vb script. Is there any method to fetch value from grid.

    268. How do you automatically update image checkpoint through script?


    269. How to open multiple tests in QTP?


    270. how to execute sql query using qtp ? Explain with sample code.





    271. How can i run my own qtp scripts in remote system.like rational test manager


    272. How can you show the data from a particular row and a particular colum from Data Table in QTP


    273. what are the advantages and disadvantages of global data sheet and local action sheet?

    274. In WinRunner some GUI functions are there (like GUI_load) so in QTP what r the methods r there?


    275. How do you load selective 20 records out 50 records from xls sheet?

    276. What is the Winrunner "prinntf" equivalent QTP command?


    277. How will you check XML Exceptions in QTP?(Here it is XML Exception, not check point)


    278. how to write scenario in QTP?


    279. what is the difference between image & bitmap checkpoint in qtp

    280. Explain about output values in run time mode

    281. 1. What is the QTP environment

    282. How to write the script for Upload file by using browse button into the web application?

    283. is it possible to compare the actual result with the database using QTP


    284. how qtp handles customised object


    285. Explain the process of creating a test for an xml file which is uplaoaded in the application where it is validated?


    286. what are add-ins why they are needed ?when should i select active x add-in ?


    287. Hai,Can any one explain how to call a winruner script from qtp?can we execute qtp scripts from test director.

    288. How do you test DLL files using QTP?


    289. what is use of regular expression in qtp ?


    290. How can we use debug viewer in QTP.What is the use of that?


    292. can we use qtp 8.2 with testdirector 7.2


    293. what is the automation frame work

    294. How long have you used the product?

    295. why QTP is becoming more popular tool compared to other tools ?


    296. what is the difference between test object and runtime object?


    297. how to find load time,how to check font size,& GUI application & How to import datasheet pls tell me step by step

    298. how to identify an object which is not in the object repository

    299. what programing languages can be used as scripting languages

    300. How to use virtual object in my script? I had created one virtual object through using virtual object wizards.It is created successfully.After that i dont know how to use that object in my script.If any one know then pls tell me.

    301. Did you use flatfiles in your projects? At what situation you used it? How can you upload flatfiles?


    302. What are the different ways of parameterising in QTP ?


    303. Dear Friends,,,Kindly clarify my doubts... 1) How can i Save the snapshots in a specified folders using Scripting in QTP?Kindly help me out...RegardsIndu


    304. How to open notepad without recording and without using system.util.run command?

    305. What are difference between QTP 8.2 and QTP 9.0?


    306. Hi friends,I was asked a question in one interview that is How can we connect to database in QTP.I need the script. Can anybody help me.

    307. In QTP, Which are the concepts are needed to do Functional testing and Regression testing?


    308. Q. The object synchronization timeout (Test > Settings > Run tab) setting is set to 20,000 milliseconds (20 seconds).Consider the following statement: JavaWindow("Trade Manager").JavaDialog("Trade Entry").JavaButton("Enter").Exist 10What is the maximum amount of time the statement will wait for the specified object to appear?A 20 seconds B 10 seconds C 30 seconds D 10 milliseconds E 20,010 milliseconds

    309. What is the repository for objects in QTP?


    310. What are the most frequent errors you faced while executing your scripts?

    311. What is the Test Object model in QTP?


    312. what is paramerization in qtp and tell me how to parameterize the tests.could u please explain with an example.

    313. what is the difference between table check point and database check point in QTP

    314. What is BPT?

    315. When a recovery scenario is set for an action, is that scenario behavior carried forward even when that action is called from another test or do we have to make any settings in order to do so? for e.g. if a pop up is handled using scenario1 within an action1 of TEST 1 and if the action1 is called from TEST2, will the same pop up be handled in the called action? It could be called as an existing or a copy of action.


    316. In my interview, I was asked to "write up of your testing methods including QTP highlights"in a word document and submit. How should i begin and end it. Can anyone tell me the answer or e-mail the document

    317. Multiple instances of same browser is getting created in Shared object Repository .Please tell how to avoid this ?Example :Original : WEB_PAGE (VIEW COMPANYFirst instance WEB_PAGE (VIEW COMPANY_2As per QTP Help file : By default, the name assigned to the Browser test object in the object repository is always the name assigned to the first page recorded for the browser object. The same test object is used each time you record on a browser with the same ordinal ID in future recording sessions.


    318. how to use global variables in QTP,What are user-defined envoirnment variables?


    319. What is difference between Reusable Actions and functions in QTP(functionality wise)


    320. what are the addins we use for mainframes environment for QTP?How did u write macros?What is the main importance of VB macros in testing environment?



    322. How to access values from Unix OS and how to write command in the unix OS through QTP?


    323. How to resolve, When QTP throws: verify that parent properties match an object currently displayed in your application.I would appreciate your early replys

    324. How to report defects using QTP if we do not have Quality Center Server?

    325. what is the scope of a variable in an action?

    326. How do we capture Web table and write a script for Webtable using QTP 8.2


    327. wat is meant by Batch Testing

    328. Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.ThanksDachepally

    329. If you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?

    330. How to write the script to check the properties of OK button in 10 different forms?Hello friends,If I have 10 forms where in each form consists of OK button.Now i want to test the Properties of OK button in all the 10 forms,like the x coordinate,y coordinate,width,height,text etc.can anyone tell me how to write the script for this.Itries to run by writing the script but i am getting the same value for all the OK buttons even though there are some differences.The script is considering all the


    332. What is the difference between a Test and a Business Component?Is it necessary to use Business Component while testing an application in the real time?


    333. If one string in a sentence dynamically changes, u can define output value summary using text after, text before in text output value. Suppose if more than one strig dynamically changes in a sentence, how will u define output value summary?

    334. How did you write macros? What is the main importance of VB macros in testing environment?


    335. What is the difference between low level recording and analog recording mode when it will be enabled.Please let me know


    336. hai AVS,iam not agree with you, because we can change form shared repository to per action repository viceversa.


    337. How to get the cell value from Virtual Table?


    338. what is a active x control?can any one brief me about active x controls


    339. Maximum synchronizing time out in QTP





    340. can we perform performance testing by qtp?


    341. What is the procedure to use JavaScript in QTP?


    342. Explain the concept of object repository & how QTP recognises objects?


    343. If winrunner and QTP both are functional testing tools from the same company.why a separate tool QTP came into picture.Enchanments can be implemented in the winrunner and release a new winrunner version.


    344. What is wiagentie.dll

    345. what is the difference between window command and dialog command


    346. How to import data from a spreadsheet to Test director?


    347. What are the disadvantages of Datadriven tests in QTP

    348. how do we record a pop up window in QTP


    349. 1)How to capture screen shots of Errors/Exceptions during Runtime?2).In which folder the snapshots are stored in QTP?3).Wat is the use of Accessbility Checkpoint A).To check access to the files B).To check tool tips c).To check the links D). To check the database.4).Does QTP supports Unix Environment?5).Which object model doesnt supported by QTP?a)DOM b)DECOM c).COM d).DCOM6).Wat are the maximum actions we can create in QTP?a)255 b)256 c)No Limit


    350. what is the difference between window command and dialog command

    351. How to use Windows API's in the QTP scripts?What are the advantages of using API'splease provide sample code

    352. I need some coding help:I have a section of my application that looks up legal case numbers. So for example, I type 04TR000001 as my case number click GO and it will open the appropriate case.I have a data sheet with a parameter CASENUM and it has about 50 case numbers I now need to be able to verify the right case has opened. There is a bunch of case header information that comes up when a case is opened. It includes for example: -------------------------------------------------------------


    353. Procedure to write and run a vbscript file to test applications using QTP if possible please explain with an example thanks in advance


    354. Can we call QTP test from another test using scripting.Suppose there are 4 tests and i want to call these tests in a main script. Is this possible in QTP?


    355. what do you mean by low level recording in QTP?


    356. In QTP, I have knowledge of Actions, Parametrization, Checkpoints, Output Values, Regular Expressions and Virtual Objects.What are the concepts that I have to study yet, to test any real time project?Can any one suggest me regarding to this?


    357. How to pass parameters from one action to another action.


    358. how qtp 8.2 recogonizes or differentiates two "OK" button . pls tell me the distingushing feature.


    359. How can I implement error handling in QTP


    360. What is the difference between Select Cell and Activate Cell?

    361. A colleague has written a block of QuickTest Pro code to compare two account values. If the values match, the script should simply use the ReportEvent method to report a PASS status for the step. If the account values do not match, the script should report a FAIL status for the step and increment the error_count variable by one. You review your colleague’s script shown below:expected_account_balance = 5000actual_account_balance = 5500If (actual_account_balance = expected_account_balance)


    362. what are types of ordinal identifier?


    363. What is Virtual Object? Plz Explain me with an example?

    364. What is source control?

    365. How to record objects of Windows taskbar


    366. How will you load few objects in Active Screen?Assume in a screen i have lots of objects, if all these objects are loaded in ActiveScreen, then my memory and processing speed will be decreased. How to load a specified part in my screen so that, that part only will be displayed in active screen.


    367. Application is installed in one drive,how we can execute that application in another drive?

    368. What is description of Object?


    369. When task gets repeated what do you do. / how to handle dynamic objects,when task is repeated in multiple scripts what u do


    370. Does the candidate prefer Keyword processing or Expert processing and why?
    371. How do we do parameterization in QTP to insert values from a file?

    372. Can we use Perl and Shell scripting in QTP?


    373. How to check whether 'X' (for closing window or dialog) icon exists for a .NET based application using QTP


    374. What is QTP Environment variable? What is its use?


    375. How much time take for automation one Integration Test Cases using QTP

    376. What are the coding standards for automation using QTP ?

    377. What is Virtual Object in QTP? Explain me with an example?






    378. what is terminal Emulator? What is it used for in QTP? What is its purpose?

    379. How to get the Consolidated Test Result in QTP

    380. What is Sceinario ,How many types are available with examples explain to me I have recorded a signature in context sensitive mode but how to we over come on it

    381. what is database check point.

    382. How many number of actions possible in QTP?

    383. What are different execution modes available in QTP & explain them.

    384. what is action split and the purpose of using this in QTP? Also please explain calling an action. How is this done and why is it done?

    385. Explain in detail the concept of synchronization.

    386. What are the check points can be inserted without recording?

    387. In what instancesdo we use virtual object wizard?

    388. what are envirnment variables in qtp?

    389. Can we change name of checkpoint? if yes how?


    390. What is meant by Source Control?

    391. What is descriptive programming?


    392. What are Limitation of QTP?


    393. What is the best way to do regression testing using QTP.

    394. what is the use functions in QTP. public, private


    395. Can we call a QTP script from a main script without making it reusable?


    396. Difference Between text and Textarea checkpoints in QTP


    397. how can i insert database checkpoint in qtp-6.5

    398. what are advantages and disadvantages between internet explorer and netscape navigator (or) Internet Explorer Vs netscape Navigator


    399. How can we insert Text check point and Bit map check point ? if provide example script, it is greatefull

    400. What is difference between global sheet anh action sheet?

    401. how to connect the database through QTP

    402. what are the types of exception handling available in QTP and what is the difference between winrunner and QTP exception handling


    403. What is meant by Source Control?


    404. What is Component...??


    405. What is the repository for objects in QTP


    406. What are the loops used in Quick Test Professional ?


    407. What is Analog recording,What is the difference between analog recording and low level recording
    408. can u explain qtp arcitecture,what are the terms in qtp architecture?


    409. After importing external .xls datasheet in to Datatable of QTP, How to set NO of iterations run for all row in the Datatable? I mean We dot know How many rows are existed before importing the .xls sheet


    410. Few basic questions on commonly used Excel VBA functions.

    411. Is it possible to change from Shared Object Repository to Per Action Repository or vice verse. if Yes then How


    412. How to check text of a tool tip for .NET based application in the QTP.


    413. Can we pass an array to a reusable action as an argument

    414. How can I add an action (external action) programmatically?


    415. How can you delete the results file (XML)QTP


    416. Question 1: Does the candidate prefer Keyword processing or Expert processing and why?Question 2. What problems have they encountered with the product? What areas are most difficult for them to implement.Question 3. Have they used the suite in a collaborative team environment? What did they dislike and find difficult to accomplish within the group? What did they like about that environment? How difficult was it for them to deal with less experienced team members? Why?Question 4: When Scripting


    417. how can we convert the QTP test result and snaphots into a pdf file .


    418. how to map custom objects in the .NET base application using QTP.


    419. Q. Consider the following list:I. Tests that will be executed for each build of an applicationII. Emergency tests that must be tested immediatelyIII. Tests that use many data values, but perform the same actionsIV. Tests that verify an application’s usabilityV. Tests that are executed infrequentlyVI. Critical tests that are tedious to perform manuallyWhich of the above represent types of test cases that are typically good candidates for automation?A I, III B III, VI C I, IV, V D II, III,


    420. How to do link testing in a web application using QTP?


    421. What is the use of PeopleSoft Add-in in QTP?


    422. For Clicking on Calendar dates from Calendar,How do we capture it in Object Repository and write scripts?


    423. Can we use QTP(8.2 or 9.0) with Test Director?

    424. how can u write a script without using a GUI in QTP?


    425. What is the differance between resuable action & library file?


    426. Q. Given the tasks below (listed in random order): I. Recognize the object type ("class")II. Use a pre-defined set of properties (mandatory properties) to create a unique object descriptionIII. Use assistive properties or an ordinal identifier to create a unique object descriptionIV. Assign a logical name to the objectWhich answer describes the correct order of tasks that are performed by QuickTest Pro during recording to create a unique identity for an object?A IV, I, II, III B IV, I


    427. How is batch testing related to interface testing?


    428. Q. You create QuickTest Pro scripts for an application that performs a great deal of server-side processing which causes synchronization issues when the scripts are run. The only indication that the system is busy processing is an animated image of a flashing red light. Each time the system is finished processing, the image is returned to a static image of a green light. Assume that none of the image’s properties available to QuickTest Pro indicate whether or not the system is busy.What i


    429. Hi, I am having trouble recording in QTP. I am testing webbased product, and this happens especially when I try to cancel a window or something on the browser, everything I record after that doesnt get recorded. Can anyone help me?


    430. What is BPT in QTP and how to create reuseable component in BPT?

    431. Explain about Smart Identification with a simple example


    432. What is the difference between Index and Location in Object Identification In QTP


    433. what is the use of "operation" which comes under "insert" menu of qtp 9.0,how
    what is the use of "operation" which comes under "insert" menu of qtp 9.0,how to enable it

    434. Can you record right click and the menu appearing after right clicking on any of the links in the browser...??If YES then HOW...??


    435. What is the use of descriptive programming?


    436. How do I use text checkpoint in QTP as everytime I use this checkpoint in the excel sheet and highlight the text I want to check, the results will always display fail even tough the string can be found in the excel sheet.


    437. How would u manipulate the script so that when the test is run it takes a new login name?


    438. Hi,I am new to QTP, please tell me how to invoke an application in QTP.Forexample:In winrunner we use syntax's like "web_url_valid, web_browser_invoke", like the same way i want in QTP.Else please let me know where can i find these syntaxs in QTP.


    439. How can an object from a per action repository be called to another per action repository?


    440. Generally what object repository mode is preferred?Generally in real time projects we use Shared Object Repository file.


    441. how to fetch test data from Database by using QTP?

    442. How to call a funtion present in dll file in QTP Script.


    443. How to get the column count and column name from resultset in database connction program?


    444. what is the pre-requisites for XML check point and Database check point in QTP,and what should checked, plz need clear description with an example

    445. how can we validate any date format like todays date(02/15/06)?

    446. Generally what object repository mode is preferred?

    447. Without recording objects in Object Repository are we able to run scripts?

    448. Advantage of using Mercury Quality Center over Test Director

    449. Can we mask a Code In .vbs file so that it is not viewable to others?


    450. We are trying to avoid that anybody see our script after we wrote it. Did anybody know how to do this? Is there any tool/way to read an .exe or .dll so we can make our script then compile it and then include in a QTP script and not allow anybody to see our code?

    451. How to add run-time parameter to a datasheet?


    452. how to do regression testing using qtp



    453. how good is QTP for testing siebel applications?whether QTP recognizes siebel objects or something else is needed?


    454. How to load the *.vbs or test generating script in a new machine?


    455. How can I add an action (external action) programmatically?


    456. How can I execute PL/SQL stored procedure (with parameters) thorough VBScript?


    457. How can u describe the basic flow of automation with conditional and programmatic logic?


    458. When there is a task that gets repeated in multiple scripts, what do you do in QTP?


    459. How and what kind of VB functions do u use in QTP?


    460. How to instruct QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of execution due to an error (for example Object not found)?

    461. How can you write a script without using a GUI in QTP?

    462. How do u ignore exceptions raised by a procedure or function within a package.Ex: Package a {
    How do u ignore exceptions raised by a procedure or function within a package.Ex: Package a { Proc1; Func1; ---- raised an exception Proc2; Proc3; }Note : Even if Func1 raises an exception proc2 and proc3 must be excecuted.

    463. what r the good practices,coding conventions to follow while working on a QTP project

    464. How can we do block commenting in QTP?


    465. What is the extension for QTP Script file?Is there any extension at all?


    466. How many types of environment variables are there in QTP? what are they?


    467. 1. How we can automatically update image checkpoint through script? 2. How we can covnvert diseble sub-menu button into enble button?


    468. How to parameterize checkpoint ?


    469. what is Remote Agent in QTP


    470. How can we recognize objects in Flex application using QTP? When I record scripts, it takes all objects as winobjects whether they are cjheckboxes or hyperlinks? Can anyone pls help me in this
    471. how to ceate a shared reposi. in QTP9.0


    472. How to parameterize checkpoints?


    473. What is an Automation Frame work??? Explin some Types.....


    474. How to handle an exception in a script without using Recovery Manager?


    475. Can we create test scripts in QTP without using object repository or objects


    476. what is desired machine and n/w config while integrating QC with QTP


    477. what is the use of command tab in Debug viewer ?can we execute any user defined queries

    478. How to create the dynamic object repository in QTP?

    479. how to identify a 'web element' class object while recording and running in 'Event&#
    how to identify a 'web element' class object while recording and running in 'Event' mode of settings. i'm able to run either a mouseover operation or an event but not both as per the requirement...


    480. How many types object repository in QTP?

    481. 1. How to open multiple instances of an application from QTP? 2. How to recognize each instance and setting values and triggering events in a particular application?

    482. What are the new features available in QTP 8.2 compared with earlier versions?


    483. What is the best way to test UNIX (QTP, Winrunner or Xrunner)? If QTP supports let me know the brief process?


    484. wat is xml schema validation and how to perform schema validation for a file.wat is *.XSD extention


    485. How is automation used in QTP for regreession testing. Please give me a sample script.


    486. How to use different debuging modes in QTP


    487. How do I create an Action Sheet and ensure each row in the Action Sheet is executed in a single test iteration?


    488. What is the new Version of QTP which is recently released in the Market?

    489. For the AS/400 application that takes data only thru the keyboard input and not even single mouse
    For the AS/400 application that takes data only thru the keyboard input and not even single mouse click how to write the code in QTP to automate


    490. Is there any function to double click a particular row in a webtable?

    491. Hi forum. Could any body tell me what is AMDOCS, and what are its models ? Best regrds.


    492. What is the Recovery Scenerio can apllied for any telephone line connection(Ex:BSNl,Airtel etc


    493. How to call from one action to another action in QTP?


    494. What is the method used to focus on particuler field.I need the script.I will give example.I flights application login page by default the focus is on username field. for this i will check the focus was there or not by using getroproprty method but if focue is not there which method i need to use.


    495. How to schedule tests in QTP?


    496 I have n iterations of test run in QTP. I want to see the results of not only the latest (‘n’th) iteration but also all the previous iterations (1to ‘[n-1]’th)


    497. How to write QTP scripts?2. Any related website resource to learn QTP?3. What steps the to be follwed to write scipts in QTP?4. Is their any automation framework?


    498. what is keyword driventest ?


    499. How to test Dynamic web pages using QTP

    500. What is the Hotkey that can be used for Hitting spacebar?

    501. How do you retrieve the Class name of a Test Object programmatically from within a script?

    502. What is difference between window(" ") and dialog(" ") in QTP while creat
    What is difference between window(" ") and dialog(" ") in QTP while creating script?


    503. How to check an XML schema (XML Schema Validation--from XML file)? Ttell me about .XSD file format.


    504. Is Addins enough to work in Flex based applications? or do we have to get a licence for multimedia for Addins.When i record the application the script is not coming. QTP 9.0 trial version is not able to recognise the objects.

    505. How can i execute QTP scripts through commandprompt?


    506. How do we connect to Oracle database from QTP ?


    507. What is Expert view in QTP?Can you explain with example?


    508. How do we test Links using Quick Test Professional and confirm that the page we are requesting is seen after clicking?


    509. How to Handle dynamic WebList in QTP...Values in Weblist are different


    510. what is the advantage and disadvantage of using Virtual Object wizard?2) How efficiently we can use Virtual object Wizard in QTP?


    511. How to write recovery scenario for below questions and what are the steps we will follow?if i click save button.it is not saving i want to write recovery scenario how?


    512. How to write QTP test results to an Excel application


    513 I am trying to use a template file (containing reference to settings file, comments etc..,). I have created 'ActionTemplate.mst' in the \'dat' folder .But when I open a new test file the template is not created.


    514. Recently I was asked this question in one interview .Can someone throw some light please..You are buying items from some online retail selling store.Letus say you are buying items from amazon.com. You bought cell phone and put in the cart then you find some shipping cost associated with it.You bought another item and put in the cart and notice that it is free shipping.You decided to check out and at the time of checkout you see the shipping costs got reversed for the two items.You are already r


    515. What are the limitations for XML Checkpoints in QTP 8.0?


    516. How to record Flex (1.0) objects using QTP?Post the code which works for this.


    517. Can any body expalin me the differences between a reusable and a external action with example?


    518. How to customosize QTP?

    519. You are trying to test a web based application. You invoked QTP from TD to test the web application. While the TD itself runs on a browser, how do you ensure that these two browsers do not clash?


    520. Hi,I was set the repository as per test mode and recorded my script. Now I wana to change the repository to shared. But in the settings these options are disabled.Is there any other way to change the per test mode to shared.

    521. I need information on using FSO(file system object) also its significance

    522. How to use a data driver in QTP?

    523. What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?

    524. How can I import and/or merge an existing repository into my current test?

    525. using the single script in QTP, How could you know the proper tab index order of the consicutive four edit boxes which are in a web page ? 2) A project is crashed frequently before you are taking that project for automation testing. On that time, What would be your desicion as automation test engineer ?

    526. How to Run a script recorded in English flavor of my application and re-run the same script on different language like Dutch.I tried modifying object properties in Object Identification Dialog and also used Run Update but was not clear how to modify properties usage in Object Identification so can you please clarify which sort of properties can be used to do so for Web Objects?????

    527. Explain the concept of checkpoint declaration in the QTP for Objects, Pages, Text and Tables ?

    528. How can we validate the PDF file recognization and its content with the help of Mercury product QTP(Quick Test Professional)?

    529. how to retrive/update database by writing code in expert viewIn my case database is Accessmy dsn name="try"database name="employee.mdb"

    530. How can we return values from userdefined function? anybody provide code with small example its great for me.

    531. when a script is recorded in quick test for connecting 10 rows in the database, can we change script later for 20 rowseither using vbscripting or from front-end can we make that particular change? If 'yes' how?

    532. what is difference between stub and driver?


    533. What is the Architecture of QTP?


    534. What are the disadvantages or drawbacks in QTP?

    535. How to change the Object Repository Mode using CODE? ie from Shared to PerAction.


    536. what is logical name of the object


    5371. Each test that you run is displayed into the screen ... I'm looking for a way to run a test in background, it means without see it working. Just clicking on a button to run it and see the results. Is this possible in QTP? can anyone help me?2. Makes sense the parameterize concept ... but If you want to run the same sequence 1000 times ... using the same parameters. Is it possible? I'm looking for something to test the performance also.


    538. I'm facing problem while executing QTP recorded scripts in SAP transactions.Please let me know if someone is working on QTP for SAP testing.

    539. what is the difference between Winrunner & QTP?what is the advantage of using QTP then winrunner?


    540. how to automate editing an XML file .because when i record the editing on an XML file and run it,some other field gets edited while running the script and not the one i tried to edit.please help.
    541. What is keyword driven testing please give process one example.what is the different between datadriven and keyword driven testing

    542. I have faced one question in interviewhe has given one screen with one bitmap and one edit box.The original bitmap is in data base.Question is first we get the bitmap from database and compare with the screen bitmapHow we can get the bitmap from database.

    543. I m trying to add one new property in webEditbox. it is added successfully. after that i m trying to access from my script but it is not identified my run-time property value for that new property.If any one know pls let me know

    544. What qt plus ? How we merge the files in qtp?What is feasibility study in automation?

    545. 1. what are the actions available in QTP?2. What is environmental variable? How many types available in QTP?

    546. When I try to record a report application, when I run report data report is displayed in new window. QTP doest recognise record this new window. How to know whether data is there in new window or not.

    547. what is the best way to run the applications in QTP. "Not preferred Record/Playback".Normally people will run from the 'excel'.can you please give me the best idea for this.


    548. I have a list box control displayed in the .net application. Each and every items of this list box is a combination of check box and label to its side. QTP is recognising an item selected on record in terms of coordinates. I want to know that how can i make QTP identify the selection so that i can go for parameterization.

    549. How yo get the path dynamically in QTP?

    550. I am create the test script in qtp.?when i am open the it is telling readonly mode now i want to modify the script?can any one explain the process.
    551. what is the advantage of using action button in you presentation?

    552. 1. When will writing automation scripts starts, Is it beforecoding Phase? or After Coding Phase?2.Without seeing the UI screens how will write automation scripts,Isit possible to write test scripts without GUI Map file(WR) or Objecttest repository(QTP

    553. what is the difference between qtp script and vb script


    554. what is the function for loading a repository in QTP


    555. What is a runtime datatable ?a) It is datatable created at runtimeb) It is the same datatable associated with a script and displays runtime datac) There is no runtime datatable concept in QTPd) Runtime datatable accesses data from other datatables at runtime

    556. We have readonly mode I want to modify my script I want to change it to writeonly mode can anyone give me the process.
    557. While opening a large script which contains call to external actions QTP hangs. The same problem iam facing when i call an external action. I want a solution to this problem

    558. How to test the Flash Objects in QTP? Whether we should add any Add-ins for that? If yes where we will get that?
    559. hi how can we test .net application using QTP. imean writing scripts in c#.can we directly write .net scripts in QTP,after recording the application can we enhance script using .net??can any one please give me an idea, or send me any links.

    560. Is QTP able to recognize objects in applications like Photo-Shop?I want to record, run & edit actions in Photo shopApplabs
    561. Which feature of QTP would you like to improve ?How would you go about implementing it ?(This question is only to test the candidate, I dont expect any strong answers. How should be able to convince the interviewer, thats it.)


    562. What is the difference between these three debugging modes1.Stepinto2.Stepout3. Stepover ?

    563. What is the limitation to XML Checkpoints?


    564. How can i break a test if a bitmap-checkpoint fails ?


    565. Which the Object Model the QTP uses for the Object identify of an application ? Choices are 1.DOM,2.DCOM,3.COM,4.ROM .

    566. Hi,How can we test a stored procedure ?

    567. Out if the given solution which is the way to find a window is minimized or nota) Get the abs_x " and "abs_y runtime values and check if they are equal to 3200 b) ICheck weather the window exist or notc) Try to click on a control in a window and if it fails, assume that the window is minimizedd) There is no option to check whether a window is minimized or not

    568. I have a list box in my .net application. This list box is having some items. Each item is a check box and to its side a label. When i record such a object QTP understands the item selected in terms of coordinates. How do i make QTP recognise such a object.

    569. how to pass parameters from one test to another test in QTP

    570. What is the difference between Image Check point and Bit map check point
    571. Where is the bitmap checkpoint information saved? a) In Temporary folder b) In
    Where is the bitmap checkpoint information saved? a) In Temporary folder b) In resource.mtr under action folder c) In the Script.mts folder under the action folder d) In the checkpoint.usr file

    572. Is QTP supports the reports(Business Objects) to automate.

    573. Which Object Model is used by QTP to identify the object property of an application ?1.DOM2.DCOM3.COM

    574. how to create database checkpoint while testing any web application

    575. How do I prepare report after completion of test in QTP and how to explain this to the senior test engineer?

    576. How to add my own function in QTP.when I run my function in QTP then its throw an error "Error in library file. Your function library may not be valid.Do you want to continue running the test?"Now how to add library file & which file. DO u have any example of function how to write in QTP

    577. have you ever written a compiled module? If yes tell me about some of the functions that you wrote.

    578. 1.Is there a debugging option in QTP while running the scripts? Where is it? 2.What kind of support is present for scripted components? 3.Can you store different versions of the script? Where can it be stored? If in the server does it require mapping to client? 4.Can QTP integrate with outside version control systems? 5.What are the installation prerequisites for QTP?

    579. How can QTP understand virtual objectsand can it reusable
    580. How to click on the link available in the web table , link is an item in web table and link is not static, i mean it can be any where, you can not guess?here , there are two actions, one is to capture the newly added item and than clicking on it....
    581. what are the advantages and disdavantages of shared object repositry and per action repository?which

    582. How to call an external aand built-in-function in a script using VB script statements?

    583. How can we test PDF without validating in text streams?

    584. can we record an application running on a remote machine using QTP

    585. How to record and identify recurrsive hyperlinks? I mean, I have set of links in the first page(the only page I record), on clicking each link, I navigate to next page(s), which in turn has set of hyperlinks and so on till the last page.

    586. does qtp allows us to execute sql statements(like select..) with the help of any vb functions? winrunner does this with the help of db_connect(),db_execute_query(),db_write_records() .

    587. How to add a failure from a VBscript function to the results. how can I implement the functionality of checkpoint functionality from by VBScript. For Ex: I want to record a failure if some calculations evaluate to false.

    588. can any one explain in Detail abt how to handle virtuall objects in QTP 8.2

    589. How do you test oracle application using qtp?

    590. how to import data for data driven test?
    591. how to change a name of an object in a application?

    592. Give an example of a regular expression,user-defined function and built-in-function?how to make a user-defined function reusable?

    593. When there is a task that gets repeated in multiple scripts, what do you do in QTP?

    594. what is meant by external files in QTP.

    595. I am using QTP testing tool,What is micclass? and how to refer the different DLL\'s?
    596. how can i write a script to automate the page which contains random questions with corresponding answers as radio buttons eg:questions1............a b c dquestion 2a b c d..............
    597. How do you test siebel application using qtp?

    598. how can we test datareports through QTP

    599. Explain the need to use analog recording in qtp?

    600. How to make QTP to recognise the activeX controls
    601. How you write scripts in QTP? What's the main process in QTP? How do you run scripts in QTP?

    602. How to make QTP to recognise the activeX controls.

    603. If you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?

    604. Can we update the database though Qtp.

    605. How can I implement error handling in QTP, I know with Recovery Mangaer but how please give me detailed execution to how to handle giving an example?

    606. how and what kind of Vb functions do u use in qtp?

    607. HOW CAN I IMPLEMENT ERROR HANDLING IN QTP,I KNOW WITH RECOVERY MANAGER BUT HOW PLZ GIVE ME DETAILED TO HOW TO HANDLE GIVING AN EXAMPLE?

    608. what is the descrirptive progrmaing?.what is the use of descriptive programing?

    609. what is meant by SOURCE CONTROL ?

    610. CAN SOMEONE ANSWER THIS:how can u discribe the basic flow of automation with conditional and programatic logic?
    611. How can i add a action (external action) programatically?

    612. How you write scripts in qtp?what's the main process in qtp?How do you run scripts in Qtp?Please anyone can answer my questions.......

    613. how to load the *.vbs or test generating script in a new machine?

    614. I Have an interview in Qtp..Please could any one give me the hints what will they ask in interview..this is the first interview for me.

    615. What projects have you used WinRunner on? Tell me about some of the challenges that arose and how you handled them.

    616. Can you do more than just capture and playback?

    617. IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
    618. How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
    619. Explain as to how would you design the driver code for a keyword based test script.

     


    Silk Test Interview Questions

    1. In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform? Describe the script? 

    2. Silk Test Base State 

    3. What is enumerated data type? 

    4. What is Star Team (Borland)? and What is the difference between Star Team and Silk Test (Segue Software Inc)? 

    5. Give examples of different types of list data types and list functions? 

    6. What is transcript in silk test? 

    7. Silk test Scripts from command line

    8. SilkTest enable extensions 

    9. Silk test Exception handling

    10. Silk Test Built-in Functions
    11. How do you capture inputs from a text editor using SilkTest when automating a system?

    12. How do you pass parameters in a silk test ? 

    13. What is a script? How it is executed? 

    14. SilkTest Client Server Question 

    15. How do you capture dyanmic content in silk test?How do you use the GetSource function in silk test? Provide an example 

    16. what is link test and it's usage in silk test

    17. What is the wait statement in Silkest 

    18. Can any body tell about silk meter why we are going to use it and also silkrealizer 

    19. what is the use of exception handling in Silk Test? how to use the commands?

    20. silk test interview questions

    21. In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?Scenario: In function A ,we called Function B, again in Function B , We called Function C.Here Function C is failed, i want a Function that should display the Function C ,B and A in the result folder. 

    22. What is Silktest 

    Load Runner FAQ
     

    1. Explain the function for manual correlation.


    2. URL or HTML Based Recording 


    3. How would you solve this scripting problem so that it runs correctly:The user logins in with ID and Password click the change password buttonthe user is asked to enter current password then enter new password twiceclick ok and then the user Logs out.* you cannot repeat the same password for 6 iterations* you would need the newly created password at the next iteration 


    4. A scenario defines the events that occur during is testing session. Exam (deposit cash, withdraw money…). 

    5. How do you find out memory leak using Load Runner 


    6. could any one tell if LoadRunner can test SSL? If so how?Thanks in advnace. 

    7. How many graphs are ther in Load runner?wat are they? explain about their graphs and for what those graphs are using? 

    8. How can we record a command prompt operation in load runner or how can we invoke command prompt using load runner? 

    9. Which version of Load Runner supports .NET applications? Can we do performance testing of .NET applications using Load Runner 5.0? 

    10. What are all the benefits & bottlenecks of using loadrunner than silk performer.

    11. Replay QTP scripts in Load Runner 

    12. Which protocol to use in Loadrunner for testing a desktop application developed in Java? 

    13. what is average transactions in loadrunner? 

    14. How do you perform performance testing for Three-tier application in LoadRunner

    15. While recording an URL based web application, if SessionId did not get recorded what we need to do? 

    16. What is the difference between stop and gradually stop ? 


    17. What are the benifits of including number of actions in vuser script? 


    18. Which protocol to use for oracle10g application? 

    19. Visual Basic Application 
    20. Most applications that we test here are in environments which are not production-like in terms of the hardware allocated. You will provided an example of a production vs. test environment, How would go about performance testing in the event that our test and production environments are not alike. 

    21. what are the element in the load runner controller. 

    22. what is overlay and correlate graph give the graph details 

    23. Loadrunner Interview Experience 

    24. What r the types of parameterisation in load runner?List the step to do strees testing? 

    25. how to get CPU Utilization per transaction graph? 

    26. What is the difference between hits/second and requests/second? 

    27. How to use 10 different UID/PASSWORD for running one script? If it is using parametrization then how? 

    28. what is pause command. 

    29. what is transaction per second graph(pass). 

    30. What is the level of system loading expected to occur during specific business scenario? 

    31. How to use lr_get_host_name vuser functions? and also How to see the result

    32. I have an application under test which is of 3-tier architecture, it has a web server, app server, database server, basically loadrunner monitors the load on the webserver when a script is run on the controller. how to make it monitor the load on the app server or on the database server? 

    33. how to detect memory leaks in performance testing using load runner 

    34. How do you know after load test, whether its a problem with server or within the web application? 
    35. What are the reasons why parameterization is necessary when load testing the Web server and the database server. 

    36. what is transaction . 

    37. how to create a scenario . 

    38. Load Runner Testing via Citrix 

    39. what is transaction performance graph. 

    40. Which protocols you have used during Load testing in LoadRunner ? 

    41. what is action section . 

    42. what is load runner. 

    43. Load Runner Function - How to get current system time 

    44. i am running Load runner for 15 users..at pending i could see all the 15 users but when it is in initial status only 14 users are added to it...remaining 1 user is still in the pending state...after all the 14 users finishes its task the remaining one user then starts.why is this happening?.is there any solution for this. 

    45. how many types of graphs have Load Runner ? 

    46. what are the steps for doing load and performance testing using Load Runner?Note: I need the actual process steps for doing load testing using load runner but not the questions and answers as were given about load runner 

    47. what do you mean by initialization of quota. 

    48. You have been given an application with the following architecture: Three-tier standard (Web Server, App Server & Database). How do you go about performance testing this application? 

    49. How many VUSERs were simulated at your last job? 

    50. what is stand-alone mode. 

    51. How to test MOSS 2007 applications using LoadRunner? Which protocol should I use? 

    52. what is .lrs. 

    53. where you insert the rendezvous point . 
    54. what is vuser-end section. 

    55. what is vuser-init section . 

    56. what are the section contain by the vugen while creating a vuser script . 

    57. what is VuGen. 

    58. how you load a load runner Agent. 

    59. what is load runner Agent. 

    60. what do you mean by Remote Command Launcher(RCL). 

    62. what is load runner controller . 

    63. when the rendezvous point is insert . 

    64. what is rendezvous point. 

    65. what is vuser script. 

    66. what is the vuser in the scenario . 

    67. when load runner is used . 

    68. What are the Vuser components in LoadRunner? 

    69. How many users can I emulate with Load-Runner on a PC? 

    70. What are all the types of correlation? 

    72. what are the advantage of using load runner. 

    73. How to compare the existing system performance test results with the upgraded system results in ERP Subscribe 

    74. 1: What is the difference between the memory requirement of a Process VUSER or a Thread Based VUSER?2: How much memory is utilized per VUSER? 

    75. What is a LoadRunner Agent? Why is it used? Where does the Agent run? 

    76. How to conduct Regression testing using LoadRunner?Give me explanation about HTTP protocols? How we are working on HTTP protocols?In goal oriented Scenarios LoadRunner provides five different types of goal-oriented scenarios, if a tester can work on five types of scenarios or any one type of scenarios? Suppose loadrunner controller is in different place, Vuser generator is one more place we r working in another place, is loadrunner 7.2 or higher versions of loadrunner provides this facility wor 


    77. What is the approach for performance testing? To be clear, How can go further to get a CPU utilization for a particular system? 

    78. how do you transfer load runner script in to quality center, not using controller only the generator. Need Load Runner scripts to be documented in quality center. 

    79. what is rendezvous graph. 

    80. What can I monitor with LoadRunner? 

    81. what is ramp-up and ramp-down in load runner 

    82. handle large dynamic values in the WinRunner script 

    83. How many Vuser you dealt with in your current project? 1 Vuser = How many real users? 

    84. What protocol used for performance testing? and why these protocols were used. 


    85. what kind of Recomendation we can do based on performance improvement measure at network, operating system, database and SAP level. 

    86. What is correlation? How we will do that in Load runner? 

    87. how can you define performance strategy 

    88. What are the bottlenecks in web applications(LoadRunner)? 

    89. What are all the benefits & bottlenecks of using loadrunner. 

    90. what are the enhancements which have been included in loadrunner 8.0 when compared to loadrunner 6.2? 

    91. Can we use Load Runner for testing desktop applications or non web based applications and how do we use it.? 

    92. what are the process for developing a vuser script. 


    93. how you edit the script . 
    94. After completion of functionality testing what makes us to know whether the product is ready for performance testing or not (not related to task distribution diagram and transaction profile document)? 

    95. What are the issues that may occur while transfering data over the network

    96. Hi,Which protocol I have to use in LR in order to test Power Builder application based on oracle? 

    97. Which Corelation Functions have you used? 

    98. How many VUSERs were simulated?How may different transactions were simulated? What recommendations were made to the client? 

    99. what are the min system requirements to work on loadrunner with 500 users?h.disk:ram : 


    100. Which protocol has to be selected for recording/playback a Visual Basic application? 

    102. when you initialize the vuser what happen . 


    103. what is co-relation in load runner>

    104. how can we execute winrunner script in load runner...is it possible or not?is yes how we can execute? 

    105. what in percentile graph. 

    106. what is concurrent load ? and corollation? what is the processof load runner? 


    107. How do we do Performance and Load testing using LoadRunner? 


    108. While the script is running we find some values that may be need to be correlated? Is it possible to do manual correlation for those values? 

    109. If among 100 users, 1 cannot log into a website,what will be the problem for that single user?where is the problem? 

    110. How can set the number of virtual users in Load Runner? 

    111. what is parameterigation 


    112. Hi!! Can anyone please tell me "The procedure followed in load runner.How should I start using Load Runner" 

    113. Can any one tell the advantages of Loadrunner 8.1 over Microsoft ACT(Application center Test)? 

    114. What is the use of RCL is performance testing conducted by LoadRunner? distinguish between the exact functionality of RCL vs LR Agent.How much memory is utilized per VUSER? 


    115. Anybody plz let me know: Why do we need to build a QA environment to conduct a performance test? and What issues we have to face building a QA environment? Thanks,Richi 

    116. Regarding performance test what recommendations were made to the client? Give me specific examples. 

    117. What is Loadrunner turning Console 2. How many Vuser with in our Project.3. what is Online Monitor. 


    118. what kind of problem we can face regarding hardware, software, network and memory bottleneck during the performance test? 


    119. why we insert the rendezvous point while running the scenario. 


    120. What components have you used in load runner? 


    121. what is the load runner end transaction and its syntax 


    122. what are the load runner testing process . 


    123. how you enhance the basic script . 


    124. how you set maximum number of vuser that a host can run. 


    125. What is the system requirement for 10,000 Vusers running concurrently? 

    126. What are the Monitors in LoadRunner? 


    127. What care the common functions of LoadRunner can be used in WinRunner script ? 


    128. According to Market analysis 70% of performance problem lies with what? 


    129. What is injector in load runner? 


    130. wat is extended log in load runner? 

    131. How would you plan, execute and analyze a load runner test case specifically to Retek modules like RMS? If you want to retest a Load Runner test case using the same data (high volume), how would you plan your test case? 

    132. what is MS-windows. 

    133. what enables the controller and the host to communicate with each other in Load Runner? 
    134. how you develop the database vuser script . 


    135. how many types of vuser are available . 


    136. what is GUI vuser and on which platform it will run. 


    137. Scenario: Have 5 developers that want to test and analyze using LR at their workstations. They have a "staging server" that is running WebLogic 8.1. I am tasked with loading correct components on developer machines, staging server (if that is necessary), and a LoadRunner server. Which components go where? 

    138. Which protocol has to be selected for record/playback Oracle 9i application? 


    139. what is LR-function. 


    140. what is run-time-setting. 
    142. what the vuser script contain. 

    143. what is running virtual user graph. 


    144. What are all the functions available in Loadrunner to do the corrlation?

    145. What protocols does LoadRunner support? 


    146. how to identify the scenario in Loadrunner 

    147. How to test GUI scripts for more than 1 Vusers? 


    148. how many section database vuser script have. 


    149. what is planning for the test. 


    150. what are the only means of measuring performance? 


    151. What are all the reports tobe generated after the loadtesting is completed for a particular scenario? 
    152. what is the load runner start-transaction and its syntax. 

    153. can we test j2me application with load runner ? 


    154. How to call winrunner script in Loadrunner? 


    155. where is Load testing usually done? 


    156. How do we do the correclation? 


    157. What is 'Correlation' in Loadrunner? 

    158. what do you mean by creating vuser script. 


    159. what is X-Windows. 


    160. what is load runner API function . 


    161. what type of function generate and insert by the vugen to the script when you record a script . 

    162. what is protocol function. 


    163. how vugen create a vuser script. 

    164. what are the 5 icons appear in the buttom of the controller windows. 


    165. what is scenario wizard . 


    166. what is filtering and sorting. 

    167. what are the information crating for each host. 

    168. how to create a host list for a scenario 


    169. how to modify the host attribute . 


    170. what the host attributes determine . 


    172. what is scenario default . 


    173. what is local configuration file. 


    174. what do you mean by path. 

    175. during run time where the hosts saves the files. 


    176. what is script list. 


    177. what are the information contain by script windows for each script in the list. 

    178. how to modify the script. 

    179. what is the purpose of running the scenario . 


    180. when a scenario run exactly what happened . 

    181. how to run a scenario. 

    182. what is report viewer . 

    183. what is report header and what are the information contains. 

    184. what is transaction per second graph(pass). 

    185. testing requirement and design are not part of what?