XQuery

  Home  Computer Programming  XQuery


“XQuery Interview Questions and Answers will guide us now that XQuery is a query and functional programming language that is designed to query collections of XML data. XQuery 1.0 was developed by the XML Query working group of the W3C. The work was closely coordinated with the development of XSLT 2.0 by the XSL Working Group. So learn XQuery or get preparation for the job of XQuery by the help of this XQuery Interview Questions with Answers guide”



41 XQuery Questions And Answers

2⟩ Why do I need TC Trustcenter Publisher ID?

TC Trustcenter Publisher ID is needed if you want to get your application Symbian Signed (freeware developers excluded). Publisher ID identifies you as the source of the application. Before submitting the application to Symbian Signed, you need to sign it with a Publisher ID. The test house checks the signature and verifies that the application hasn’t been tampered with on the way to Symbian signing and that the application is coming from you.

 200 views

3⟩ What is the accessibility testing?

Accessibility testing for web sites is a service that can provide much more than the standard point-by-point testing techniques of most automated services.

 205 views

4⟩ What is the difference between a self-created certificate, a Symbian developer certificate, and Symbian Signed?

Because signing is mandatory in S60 3rd Edition, all applications must be signed with a certificate to be able to install the application to a device. If the application doesn’t need any capabilities, it can be signed with a self-created certificate, which can be created with the S60 3rd Edition SDK. If capabilities are needed, a Symbian developer certificate is required in the testing and development phase to be able to test the application on a real device. For final applications, some capabilities are granted only through Symbian Signed, so the application must be Symbian Signed to gain access to certain capabilities. Also, Symbian Signed may be a requirement for getting the application to a manufacturer or operator sales channels, for example.

 217 views

5⟩ For how long are TC Trustcenter Publisher ID and developer certificates valid?

TC Trustcenter Publisher ID is valid for one year. Developer certificate is valid for six months. When requesting developer certificate, check that your Publisher ID is valid. When signing an application with developer certificate, Publisher ID (.key) and developer certificate (.cer) must both be valid. You can check the certificate expiration date by double-clicking the .cer file in Windows explorer.

 204 views

7⟩ Is signing mandatory in S60 3rd Edition?

Yes, signing is mandatory. Be aware that signing is not the same as certification, which is NOT mandatory in S60 3rd Edition. An application can be signed with a self-created certificate, which you can make with the SDK. Or, if you want to get your application tested and certified by a common testing program, you can submit your application to Symbian Signed.

 198 views

8⟩ If an application has been previously tested with a Series 40 device and it is Java Verified, can I install the same application to other Series 40 devices?

There shouldn't be any problem with the installation itself. However, if the application has only been tested with one device, there's no guarantee that it will work in other devices. Therefore, retesting at least with target lead devices is recommended. Java Verified supported devices can be found at www.javaverified.com -> Table of supported devices.

 194 views

9⟩ How do I know which platform security capabilities my S60 3rd Edition application requires?

The Help documentation in the S60 3rd Edition SDKs provides general guidance on which platform security capabilities are required for various APIs. The capabilities that an application requires can be confirmed in the S60 emulator. When the option "Enable EPOCWIND,OUT Logging" is selected in the emulator and the PlatSecDiagnostics is set ON in epoc.ini, a log file is created in the Windows "temp" folder called epocwind.out that includes information about the capabilities required. The information is a warning message indicating that a capability is needed.

 239 views

11⟩ What is a UID and how do I get one?

The Unique Identifier (UID) is a unique identification for the binary (EXE or DLL) within the system. Its purpose is to prevent executables from interfering with each other. For S60 3rd Edition applications UIDs have to be reapplied.

 203 views

13⟩ The application has been previously tested with an S60 2nd Edition device and it is Symbian Signed. Can I install the same application to other S60 devices?

There shouldn't be any problem with the installation itself. However, if the application has only been tested with one device, there's no guarantee that it will work in other devices. Therefore, retesting with other target devices is recommended. Also, be aware that applications developed for S60 1st and 2nd Editions cannot be installed to an S60 3rd Edition device as such. At minimum, it will be necessary to recompile the application with the corresponding SDK.

 208 views

17⟩ What does compatibility testing involve and who will do the testing?

Third-party testing labs will conduct the compatibility testing. Exactly what will be tested will differ from application to application, but generally, testing will cover the following:

► How the application interacts with core phone functionality. For example, how the application handles scenarios such as an instant message or other system alerts being pushed to the device while the user is in another application.

► Core application stability over time. Numerous events will be sent into the event queue to see how the application handles them and to look for instability (i.e. crashes), memory usage (i.e. leaks), etc.

► Major application functionality. Testing will be conducted to make sure the major functionality you claim for your application actually is in the application. Qualcomm will not test this functionality for "correctness" from an end-user perspective.

► A standard set of tests for each area of BREW functionality used by the application. For example, we will use a standard file system test suite if the application uses the BREW file system calls. Similarly, if an application uses the BREW networking calls, we will test this with a standard networking test suite.

► Any operator or manufacturer-specific look and feel requirements.

► Compatibility with the target device(s).

► Interaction with required accessories.

 205 views

18⟩ What is the purpose of compatibility testing?

Your internal QA department has done all it can to ensure that your software functions as designed. The light is shining at the end of the development tunnel; your product is nearing completion, and the release deadline is rapidly approaching. You know that the application functions on all of your in-house computers. What about the myriad of computer systems of your target users? Nothing upsets your customers more than breaking open that shrink-wrap (or downloading the software from your site) only to find that a conflict exists with the software or hardware they have installed on their computer, rendering your product inoperable. Compatibility testing can help you avoid that dangerous and expensive pitfall

 196 views

19⟩ Some elements on the web page I am testing contain leading (trailing) whitespaces. I am using the Utilities.Trim function to remove them, but sometimes it does not work. What is wrong?

There are several types of whitespace characters that can be used in HTML pages: “usual” spaces (with ASCII code 32), non-breaking spaces ( , code 160), end spaces ( , code 8194) and others. For more information on these characters, see the Whitespace and Formatting Characters article. The Utilities.Trim function only removes the “usual” spaces from the string. To remove other whitespaces, you can use the Utilities.StringReplace function to replace them with empty strings. For example, the code snippet below demonstrates how to remove non-breaking spaces from a string

 231 views

20⟩ How can I find a specific image within a web page?

To find an image within a web page, you can use one of the following approaches:

► Search for the IMG element whose SRC attribute contains the file name of the desired image. To perform the search, use the Page.NativeWebObject.Find method (see the method’s description above).

► Use TestComplete’s image-search capabilities. You can call the Picture method of the web browser window to obtain a Picture object holding the window image, and then use the Find method of this object to search for the desired image. This method returns a rectangle that specifies coordinates of the image within the web browser window. To obtain the scripting object corresponding to the found image, you can use the Sys.ObjectFromPoint method. Both approaches are equally valid, however, finding the image by name works much faster. For more information and code examples, see the TestComplete Tips: Finding an Image on a Web Page blog on our AQCommunity site or the “Finding an Image on a Web Page” help topic.

 218 views