1. A method performed by a computer, comprising: extracting text and contextual information from a first screen element displayed by an application, the first screen element selected by a user action, and the first screen element being part of a plurality of screen elements that are displayed by the application, wherein the plurality of screen elements correspond to different contextual information and the contextual information extracted from the first screen element includes operating system data indicating a type of screen element from which the text is extracted; obtaining a plurality of strings of different text data types from the extracted text via a series of analyses; determining a plurality of search types for the plurality of strings based at least on the contextual information of the first screen element and the series of analyses, wherein the determined search types are selected from a plurality of different search types that are mapped to the different contextual information corresponding to the plurality of screen elements; automatically appending the determined search types to respective strings from the plurality of strings; automatically generating a relevant search string by logically combining the determined search types and the respective strings; and searching a database with the relevant search string.