How do I grab text or an element and check if it displays on the page? - codeceptjs

I have a problem with one test case. Well, I would like to download a text or an element from the site and check if it is displayed on the website?.

Related

Add link to image attachment in Jira description/comment without displaying thumbnail

I'm using Jira server (on-premises hosted, not cloud). When I click the attachment button in the Description field or a comment to add a link to an image that was attached to the issue previously, it is displaying a thumbnail of the attachment, which totally throws off the formatting of the Description/comment. Is there any way to suppress this behavior so it just displays a link to the image that expands to a modal, similar to the experience when you click on the attachment name in the list of attachments?
I found, in our jira configuration, that the thumbnail (thumbnails) inserts itself (insert themselves) before the start of the existing text in the comment, shunting the text towards the right. So I just inserted a carriage return before the start of the shunted text. Then I still had large icons at the start of the comment, but the text formatting was fine because it started on a new line again, after the icons.

Cognos Report Studio Text box prompt not function proporly

I use conditional block to show different text box prompt when user choose different filter in my first prompt page. Now, I set the text box with same setting(no required, multi-select:yes, multi-line:yes, other are no) and similar filter script in my queries. However, when I run the report, I can't get the same output. My first text box miss right half of text space. How can I fix it? Thanks!
Click here for the first screen shot.
Click here for the second screen shot.
A sample report spec would be helpful but based on the screen shot, one of two things is happening:
The first prompt does not actually have the multi-select option set.
OR
The filter item in the actual query that the first prompt is populating is not multi-select friendly.
An example of #2 would be if you tried to set enable multi-select values but then the filter it is populating into is set to something like:
[table].[field] = ?firstPrompt?
Instead of:
[table].[field] in (?firstPrompt?)
If this isn't the case, definitely edit in a simple sample report specification so we can see more of what you're doing.

CGPDFDocument and voiceover

I have a PDF rendering app that loads PDF content from a URL (CGPDFDocumentCreateWithURL). The PDF loads fine, and I can display on screen no problem. These PDF also contain text for searching. I'm trying to make this comtent visible to the VoiceOver API. I've never worked with this frameowrk before.
Anyone have any hints or links that can help me get started?
If you have access to the text from the particular PDF page, you can set the accessibilityValue of the view you are using to display the page to the text value. This will then read the contents out.
If for some reason your PDF view is not accessible to voiceover, you can use an overlay view, and update its accessibility value as you change pages.

printing a picture twice on the same page

I want to enable printing a picture from my web page so that the picture will be previewed and printed twice on the same page i.e. 1 A4 with the image printed 2 or 4 times on the same A4.
Is it possible with the FF and IE browsers interface?
Thanks,
Yuval.
I dont see why not?
Better to brush up on print stylesheets in order to hide non-relevant items on the page.
Make a print link below the picture or wherever you like. Make it point to another HTML site on which you have placed the pictures as you like (with CSS or plain HTML).
Finally, use javascript (at page load) on that site with the pictures to open the printing dialog in the browser.
Good luck.

sifr alternate text always displays

Using sifr3-r436. First page load of seems fine. Reload page and sifr-alternate text always displays resulting in a double headline, one Flash text one HTML. Any ideas?
Please see example here:
http://v3.kevincarrollkatalyst.com/blog/
It was some kind of CSS problem. Rolling the sifr css properties into my screen and print style sheets fixed the problem.
Most likely it's your SIFR-stylesheet that isn't loaded properly. Please ensure that the path is correct:

Resources